https://github.com/phtrempe/image-downloader
https://github.com/phtrempe/image-downloader
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/phtrempe/image-downloader
- Owner: PhTrempe
- License: mit
- Created: 2017-01-16T00:42:03.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-01-16T01:01:25.000Z (over 8 years ago)
- Last Synced: 2025-01-12T23:30:22.221Z (4 months ago)
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# image-downloader
## How to set up
1. Download and install the [Firefox](https://www.mozilla.org/en-US/firefox/new/) web browser.
2. Add Firefox's path to your PATH environment variable.
3. Download the [geckodriver](https://github.com/mozilla/geckodriver/releases) web driver.
4. Place geckodriver's file(s) in the Firefox directory you have just added to your PATH environment variable.## How to use
Simply call `image_downloader.py` with arguments from the command line as follows:
```
image_downloader.py --num_images=50 --search_text="cloudy sky" --output_directory="./img/cloudy_skies" --file_name_base="cloudy_sky" --filtered_extensions="jpg" --request_timeout=1.0
```