Skip to main content

Image scrapping from google

Project description

image_scrapper

step 1

pip install pymongo

pip install pymongo[srv]

pip install image-scrapper-pk1308

step 2

from imagescrapper.runner import imagescrapper

import pymong

step 3

mongourl ="mongodb+srv://<username>:<password>@<cluster-name>.mongodb.net/myFirstDatabase"

client = pymongo.MongoClient(mongourl)

step4

scrapper =imagescrapper(client)

scrapper.search(search_term="dhoni",db_name="dumpy",number_images=10)(search_term="Virat kholi",number_images=10)

scrapper.download(search_term="dhoni",db_name="dumpy")search_term="dhoni",db_name="dumpy",number_images=10)(search_term="Virat kholi",number_images=10

Enjoy

Data saved to data/Virat kholi

link to pip

pip install image-scrapper-pk1308

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

image_scrapper-pk1308-0.0.5.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

image_scrapper_pk1308-0.0.5-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file image_scrapper-pk1308-0.0.5.tar.gz.

File metadata

  • Download URL: image_scrapper-pk1308-0.0.5.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for image_scrapper-pk1308-0.0.5.tar.gz
Algorithm Hash digest
SHA256 f4f84b0e24260650e01e955bd0ba03926deae23ffd78b487226197db35f44abd
MD5 0815c99feb7f2771aacb7e9082b924c1
BLAKE2b-256 d61e57ffce0430a22cf376afa6c674a7df3357d0b642f437d7385bd3c0498643

See more details on using hashes here.

File details

Details for the file image_scrapper_pk1308-0.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for image_scrapper_pk1308-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 aaee4f829206cbff0a71842cba84db0ce0eecb19c2a1dcf82ec5ca4af423dd2d
MD5 512122cb76b51741e863e2a93ed5573d
BLAKE2b-256 4e10a11b65af2bfdf655133fa8447502a89e8f3b2641ce3a92e2af0edaaf3d6b

See more details on using hashes here.

Supported by

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