# 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:
```bash
pip install img-scrapr
```
Go into a folder (where you wish to store the images) using terminal and run:
```bash
scrape
```
Alternatively you can also run the following command in terminal (if scrape does not work or is assigned to another command already):
```bash
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).
Raw data
{
"_id": null,
"home_page": null,
"name": "img-scrapr",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.11",
"maintainer_email": null,
"keywords": "image, scraper, selenium, web-scraper",
"author": null,
"author_email": "Krish Kapoor <krishk122703@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/d8/24/d9afb27541c1ddec7951fa6ed0a6491f6536f59e98b82b72fdd3a0358635/img_scrapr-0.1.1.tar.gz",
"platform": null,
"description": "# Python Image scraper using selenium\nImage scraper to download images by a user given query in google images.\n\nThis 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.\n\nPlease 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.\n\nIn 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). \n\n#### YOU CAN FINALLY INSTALL IT PEOPLE (still no tests though)\n\nTo install the package in terminal and run:\n\n```bash \npip install img-scrapr\n```\n\nGo into a folder (where you wish to store the images) using terminal and run:\n\n```bash\nscrape\n```\n\nAlternatively you can also run the following command in terminal (if scrape does not work or is assigned to another command already):\n\n```bash\ngoogle-images-scraper\n```\n\nOnce the program has begun follow the instructions in the terminal for the questions asked by the program \n\nPlease 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).\n\n\n",
"bugtrack_url": null,
"license": null,
"summary": "Python package to download images from Google images",
"version": "0.1.1",
"project_urls": {
"Issues": "https://github.com/Krishk1223/image_scraper/issues",
"Repository": "https://github.com/Krishk1223/image_scraper"
},
"split_keywords": [
"image",
" scraper",
" selenium",
" web-scraper"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "8afe5cd9d3e44a11e77d1b2d3ec60e60d21fef4a6bcc0ff6e9db11d1c25b2aec",
"md5": "f1f3baa131b05d4cadbf1aba36063a21",
"sha256": "fc8751d9d44d33c0c424532b9b83beef3d657caf6a523959f9ce551ae26c3d4f"
},
"downloads": -1,
"filename": "img_scrapr-0.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f1f3baa131b05d4cadbf1aba36063a21",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.11",
"size": 11614,
"upload_time": "2025-10-24T19:39:02",
"upload_time_iso_8601": "2025-10-24T19:39:02.255275Z",
"url": "https://files.pythonhosted.org/packages/8a/fe/5cd9d3e44a11e77d1b2d3ec60e60d21fef4a6bcc0ff6e9db11d1c25b2aec/img_scrapr-0.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "d824d9afb27541c1ddec7951fa6ed0a6491f6536f59e98b82b72fdd3a0358635",
"md5": "c7eb6d1f81e99bfa45f57af4e62591fe",
"sha256": "ee0cdd14402a8e3761ac23673c4b0ce35001d20f1603b4fea8bab24170f95055"
},
"downloads": -1,
"filename": "img_scrapr-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "c7eb6d1f81e99bfa45f57af4e62591fe",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11",
"size": 10896,
"upload_time": "2025-10-24T19:39:03",
"upload_time_iso_8601": "2025-10-24T19:39:03.534605Z",
"url": "https://files.pythonhosted.org/packages/d8/24/d9afb27541c1ddec7951fa6ed0a6491f6536f59e98b82b72fdd3a0358635/img_scrapr-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-10-24 19:39:03",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Krishk1223",
"github_project": "image_scraper",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "attrs",
"specs": [
[
"==",
"25.4.0"
]
]
},
{
"name": "certifi",
"specs": [
[
"==",
"2025.10.5"
]
]
},
{
"name": "charset-normalizer",
"specs": [
[
"==",
"3.4.4"
]
]
},
{
"name": "h11",
"specs": [
[
"==",
"0.16.0"
]
]
},
{
"name": "idna",
"specs": [
[
"==",
"3.11"
]
]
},
{
"name": "outcome",
"specs": [
[
"==",
"1.3.0.post0"
]
]
},
{
"name": "pillow",
"specs": [
[
"==",
"12.0.0"
]
]
},
{
"name": "pysocks",
"specs": [
[
"==",
"1.7.1"
]
]
},
{
"name": "requests",
"specs": [
[
"==",
"2.32.5"
]
]
},
{
"name": "selenium",
"specs": [
[
"==",
"4.36.0"
]
]
},
{
"name": "sniffio",
"specs": [
[
"==",
"1.3.1"
]
]
},
{
"name": "sortedcontainers",
"specs": [
[
"==",
"2.4.0"
]
]
},
{
"name": "trio",
"specs": [
[
"==",
"0.31.0"
]
]
},
{
"name": "trio-websocket",
"specs": [
[
"==",
"0.12.2"
]
]
},
{
"name": "typing-extensions",
"specs": [
[
"==",
"4.15.0"
]
]
},
{
"name": "undetected-chromedriver",
"specs": [
[
"==",
"3.5.5"
]
]
},
{
"name": "urllib3",
"specs": [
[
"==",
"2.5.0"
]
]
},
{
"name": "websocket-client",
"specs": [
[
"==",
"1.9.0"
]
]
},
{
"name": "websockets",
"specs": [
[
"==",
"15.0.1"
]
]
},
{
"name": "wsproto",
"specs": [
[
"==",
"1.2.0"
]
]
}
],
"lcname": "img-scrapr"
}