Project is archived and read-only fot now
Cross-platform utility allows you to save all images from Google Art Project in high quality (up to 4K).
⭐ It works perfectly from 2018 year till today, thanks for stars!
- Just download a zip archive with binaries from releases, unzip it to any folder and run google-art-downloader.exe.
- Use button "Paste url" or
CTRL+V
to paste your url and click "Download" to start the image processing.
See Running with Python section, if are running on Linux or macOS.
Compiled release requires just connection to the Internet and Chrome installed (should be added in PATH).
This method is also suit for you if you don't use Windows.
If you want co compile your own version or use it without downloading compiled files:
- Install Python 3.8+ and add interpreter to PATH
- Install Google Chrome or Chromium and add executable to PATH
- Install all project dependencies:
python -m pip install -r requirements.txt
- Only for Linux and MacOS: be sure you make webdrivers from
bin
executables.- Linux:
chmod +x bin/chromedriver_linux64/chromedriver
- MacOS:
chmod +x bin/chromedriver_mac64/chromedriver
- Done! You have to just run a script:
python GoogleArtDownloader.py
If you need to compile it with PyInstaller for Windows, follow this instructions:
-
Change source code of installed Selenium to disable Selenium terminal showing (it's a common bug by the way):
- Open file:
<your-path-to-python>\Lib\site-packages\selenium\webdriver\common\service.py
. - In opened file override method placed in
selenium.webdriver.common.service.Service
:To this:self.process = subprocess.Popen(cmd, env=self.env, close_fds=platform.system() != 'Windows', stdout=self.log_file, stderr=self.log_file, stdin=PIPE, )
self.process = subprocess.Popen(cmd, stdin=PIPE, stdout=PIPE, stderr=PIPE, creationflags=0x08000000)
- Open file:
-
After changes above, execute commands below to compile it:
python -m pip install pyinstaller --upgrade
python -m PyInstaller --onefile --noconsole --icon=favicon.ico .\GoogleArtDownloader.py
- Copy
bin
folder todist
. - Done! Congratulations, your compiled script is ready to use in
dist
folder.
Deprecated, please use alternatives.
This utility doesn't download a maximum possible resolution of the image you provide. It's because of webdriver screenshot limitation. If you really need the maximum possible quality, see alternatives section or feel free to improve this script with pull request.
If you are interested in more highest image resolution or Selenium webdriver isn't starting well, you could use alternatives:
- dezoomify (works online),
- dezoomify-rs (a command-line application for windows, linux and macos),
- gapdecoder (a python script) instead.