Search and download images via google search api.
This is a draft version , some parameters are hard coded in the source, so if you want to try this tool, you need to change them by yourself.
- Search all source code with the keyword # Note: replace the corresponding content with your owen.
- Start the code with
python3 __init__.py
- If you want to search another keyword,then change the following code:
'toyota+aqua+front+view'
- If you want to retrieve more images, then you can change the following code:
while start_num < 100:
by changing the 100 to a bigger value.
1.Google search engine api https://developers.google.com/custom-search/v1/introduction