Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 1.19 KB

README.md

File metadata and controls

36 lines (26 loc) · 1.19 KB

google-image-scraper

Updates Codacy Badge

Google image scraper is a tool to scrape images from google. It uses aiohttp and regex to scrape original image, preview image, metadatas. It can scrape images without selenium.

Warning : Abuse of this scraper can lead to your IP being banned by Google. (probably)

Installation

$ git clone https://github.com/Neulus/google-image-scraper
$ cd google-image-scraper

# MacOs/Linux
$ python3 -m pip install .
# Windows
$ py -m pip install .

Example

import asyncio
from imagescraper import GoogleScraper

async def main():
    scraper = GoogleScraper()
    for i in (await scraper.scrape('hi', amount=300)):
        print(i)
    await scraper.close()

asyncio.run(main())

However, This project was originally created for my personal project.