Pinterest data scraper
Project description
pinscrape
This package can be use to scrape images from pinterest just by using any search keywords. Install it just by using
pip install pinscrape
How to use?
from pinscrape import pinscrape
details = pinscrape.scraper.scrape("messi", "output", {}, 10, 15)
if details["isDownloaded"]:
print("\nDownloading completed !!")
print(f"\nTotal urls found: {len(details['extracted_urls'])}")
print(f"\nTotal images downloaded (including duplicate images): {len(details['url_list'])}")
print(details)
else:
print("\nNothing to download !!")
scrape("messi", "output", {}, 10)
"messi"
is keyword"output"
is path to a folder where you want to save images{}
is proxy list if you want to add one (optional)10
is a number of threads you want to use for downloading those images (optional)15
is the maximum number of images you want to download (optional)
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
pinscrape-2.0.1.tar.gz
(4.7 kB
view hashes)
Built Distribution
Close
Hashes for pinscrape-2.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb3f16910260d62bacaf219e863db2ff7d0433968a266fe5e9c088b3c47a8e04 |
|
MD5 | 906fb0e5358c42dc2ad22d611dc11bf6 |
|
BLAKE2b-256 | 0963be7dec66369bf5fe81f09094580e19daf309a999c30a71acc93a417b0db7 |