This package contains a scraper for Art!
The getty_art package uses the search API of the Getty Museum to deliver the finest art directly to a local drive near to you.
Grabbing some fine art using this package is super simple:
import getty_art
scraper = getty_art.Scraper(category='Paintings')
filenames = scraper.scrape(3)
This snippet downloads three paintings to a temporary directory and binds the locations of the downloaded pieces of art to the filenames variable.
You can also use the scraper from the command line. For instance, the following command downloads 2 watercolors to your current directory.
python -m getty_art.getty_art 'Watercolors (paintings)' --limit=2
GettyArt is on PyPI! This means that installing getty_art is as simple as:
pip install GettyArt