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
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
Hashes for image_scrapper-pk1308-0.0.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4f84b0e24260650e01e955bd0ba03926deae23ffd78b487226197db35f44abd |
|
MD5 | 0815c99feb7f2771aacb7e9082b924c1 |
|
BLAKE2b-256 | d61e57ffce0430a22cf376afa6c674a7df3357d0b642f437d7385bd3c0498643 |
Hashes for image_scrapper_pk1308-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aaee4f829206cbff0a71842cba84db0ce0eecb19c2a1dcf82ec5ca4af423dd2d |
|
MD5 | 512122cb76b51741e863e2a93ed5573d |
|
BLAKE2b-256 | 4e10a11b65af2bfdf655133fa8447502a89e8f3b2641ce3a92e2af0edaaf3d6b |