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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee0cdd14402a8e3761ac23673c4b0ce35001d20f1603b4fea8bab24170f95055
|
|
| MD5 |
c7eb6d1f81e99bfa45f57af4e62591fe
|
|
| BLAKE2b-256 |
d824d9afb27541c1ddec7951fa6ed0a6491f6536f59e98b82b72fdd3a0358635
|
Provenance
The following attestation bundles were made for img_scrapr-0.1.1.tar.gz:
Publisher:
publishing.yml on Krishk1223/image_scraper
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
img_scrapr-0.1.1.tar.gz -
Subject digest:
ee0cdd14402a8e3761ac23673c4b0ce35001d20f1603b4fea8bab24170f95055 - Sigstore transparency entry: 637766918
- Sigstore integration time:
-
Permalink:
Krishk1223/image_scraper@1c93e1c58ec010130fdd305e4896304f91c71404 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/Krishk1223
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publishing.yml@1c93e1c58ec010130fdd305e4896304f91c71404 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc8751d9d44d33c0c424532b9b83beef3d657caf6a523959f9ce551ae26c3d4f
|
|
| MD5 |
f1f3baa131b05d4cadbf1aba36063a21
|
|
| BLAKE2b-256 |
8afe5cd9d3e44a11e77d1b2d3ec60e60d21fef4a6bcc0ff6e9db11d1c25b2aec
|
Provenance
The following attestation bundles were made for img_scrapr-0.1.1-py3-none-any.whl:
Publisher:
publishing.yml on Krishk1223/image_scraper
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
img_scrapr-0.1.1-py3-none-any.whl -
Subject digest:
fc8751d9d44d33c0c424532b9b83beef3d657caf6a523959f9ce551ae26c3d4f - Sigstore transparency entry: 637766923
- Sigstore integration time:
-
Permalink:
Krishk1223/image_scraper@1c93e1c58ec010130fdd305e4896304f91c71404 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/Krishk1223
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publishing.yml@1c93e1c58ec010130fdd305e4896304f91c71404 -
Trigger Event:
release
-
Statement type: