Skip to main content

Python package to download images from Google images

Project description

Python Image scraper using selenium

Image scraper to download images by a user given query in google images.

This is purely a learning exercise and is meant to be useful for dataset creation for training an image classifier model that will be made soon enough, that being said I hate image scraping so much.

Please note that as webscraping is a new field for me, claude was used in providing suggestions such as cookies handling functionality (mainly the idea of storing it in a pkl file) and it also helped with my learning journey for helping publish the package.

In version 0.1.1b (the current release version on PyPi) you will have slightly faster downloads (I hope) due to multithreading support (also new to this so please reach out to me if I have messed up).

YOU CAN FINALLY INSTALL IT PEOPLE (still no tests though)

To install the package in terminal and run:

pip install img-scrapr

Go into a folder (where you wish to store the images) using terminal and run:

scrape

Alternatively you can also run the following command in terminal (if scrape does not work or is assigned to another command already):

google-images-scraper

Once the program has begun follow the instructions in the terminal for the questions asked by the program

Please note it does sometimes go off on the deep end with the images it downloads I am sorry I am working on it. I also know I should write tests and I will (soon).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

img_scrapr-0.1.1.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

img_scrapr-0.1.1-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

Details for the file img_scrapr-0.1.1.tar.gz.

File metadata

  • Download URL: img_scrapr-0.1.1.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for img_scrapr-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ee0cdd14402a8e3761ac23673c4b0ce35001d20f1603b4fea8bab24170f95055
MD5 c7eb6d1f81e99bfa45f57af4e62591fe
BLAKE2b-256 d824d9afb27541c1ddec7951fa6ed0a6491f6536f59e98b82b72fdd3a0358635

See more details on using hashes here.

Provenance

The following attestation bundles were made for img_scrapr-0.1.1.tar.gz:

Publisher: publishing.yml on Krishk1223/image_scraper

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file img_scrapr-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: img_scrapr-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 11.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for img_scrapr-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fc8751d9d44d33c0c424532b9b83beef3d657caf6a523959f9ce551ae26c3d4f
MD5 f1f3baa131b05d4cadbf1aba36063a21
BLAKE2b-256 8afe5cd9d3e44a11e77d1b2d3ec60e60d21fef4a6bcc0ff6e9db11d1c25b2aec

See more details on using hashes here.

Provenance

The following attestation bundles were made for img_scrapr-0.1.1-py3-none-any.whl:

Publisher: publishing.yml on Krishk1223/image_scraper

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page