Skip to content

Uses aiohttp and regex to scrape original image, preview image, metadatas.

License

Notifications You must be signed in to change notification settings

Neulus/google-image-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Uses aiohttp and regex to scrape original image, preview image, metadatas.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages