Skip to main content

Pinterest | a simple data scraper for pinterest

Project description

pinscrape

Logo

built with Python3

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['urls_list'])}")
    print(details)
else:
    print("\nNothing to download !!", details)

scrape("messi", "output", {}, 10, 15)

  • "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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pinscrape-3.2.4.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

pinscrape-3.2.4-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file pinscrape-3.2.4.tar.gz.

File metadata

  • Download URL: pinscrape-3.2.4.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pinscrape-3.2.4.tar.gz
Algorithm Hash digest
SHA256 7f1ef9e4b48e49cbc91649e12d15436d4a9f5624492e163144b7b56f63f34e71
MD5 1a66790903429c90df469f308df471e7
BLAKE2b-256 55ce15f7694f8ea882454ca0142ef0d7007e295075542f6d86e9a3e34b74ccd5

See more details on using hashes here.

File details

Details for the file pinscrape-3.2.4-py3-none-any.whl.

File metadata

  • Download URL: pinscrape-3.2.4-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pinscrape-3.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0dcf70ed986f252c3460b09e83bcec6596c29ec92defd39bd0b8cfb65cea0735
MD5 2c5b51a8c16f76efef57ebe7ed4b099c
BLAKE2b-256 cc71bab5f7c3a740955a02e42afae4f6f03b2f1a4dc7695a5db4e049a60f4b93

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