Metadata-Version: 2.2
Name: search_image_scraper
Version: 1.0.7
Summary: A package for downloading images from Google search.
Author-email: Yoad <botenyoad@gmail.com>
Project-URL: Homepage, https://github.com/GoatYoad/search_image_scraper
Project-URL: Repository, https://github.com/GoatYoad/search_image_scraper
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: requests
Requires-Dist: selenium
Requires-Dist: beautifulsoup4
Requires-Dist: Pillow
Requires-Dist: imagehash

this package takes a query,number of images,dictionary destination path,chromdriver path and unwanted keywords as arguments, searches the query, and attempts to download every valid image for the query until it reaches the required number of images.
A valid image is one that has the query in either the alt text or data lpage elements in it's html, and doesn't have any unwanted keyword in those elements, also, it must be bigger than 100x100 in size, the code uses regex to handle the filtering and checks in the elements.
To ensure no images missed, the automation scrolls down until the end of the page/until target is met, and when reaches the end, recognizes and stops.
