An adaptable Getty images and videos scraper using Selenium and Chrome Webdriver. Can scrape from searches or boards.
NOTE: This is just an illustrative example. Use at your own discretion and follow all relevant laws.
Download files or use git clone https://github.com/arctangent4/getty_scraping.git
cd getty_scraping
python -m venv virt
source virt/bin/activate
[For Git Bash on Windows] source virt/Scripts/activate
pip install -r requirements.txt
If you get an error along the lines "error: invalid command 'bdist_wheel' ", uninstall the package that triggered the error during installation. Then, run "pip install wheel" and reinstall the package.
URL is required, other arguments are optional. At the moment, only 612x612 images are supported due to new changes in how Getty URLs are constructed.
python getty.py [getty url] -d [storage directory] -in [number of images] -pn [number of pages of images] -s [image size]
Contact or submit a feature request if you notice any bugs.