ImageDownloader
A image crawler driving Google Chrome to download images from Google Image.
Install / Use
/learn @hcwang95/ImageDownloaderREADME
Google Image Downloader
A image crawler driving Google Chrome to download images from Google Image.
Getting Started
Dependency:
python3 or python2
google chrome on Windows
python package: selenium requests
Proper chrome driver of selenium
Please follow the sequence to adapt selenium: Google Chrome Version -> Selenium Version -> Selenium Google Driver
Then install the dependency by
pip install -r requirements.txt
Execute
Prepare your ID:
Store your target id in one file with a name, say 'id.txt'. The sample content is shown below
Sample content of id.txt
apple
banana
...
Then execute the downloader by (For windows and Linux)
python googleImageDownload.py --filename [fileroot]\id.txt --root testResult --size 100
One can get the argument by
python googleImageDownload.py --help
After running, all results will be in 'testResults' folder, with one folder per id and ideal size of images is 100.
Note:
- The verison of chrome driver may not fit for chrome version, please check your chrome version and download corresponding driver from here
- The number of output images may not be equal to the size option since there could be some invalid url
- There are some important number to customize for your better experience, please check googleForWindows.py to adapt it.
Related Skills
healthcheck
344.4kHost security hardening and risk-tolerance configuration for OpenClaw deployments
imsg
344.4kiMessage/SMS CLI for listing chats, history, and sending messages via Messages.app.
node-connect
344.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
xurl
344.4kA CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.
