Skip to content

Download images on Pinterest by using search or username

License

Notifications You must be signed in to change notification settings

yung1231/Pinterest-Crawler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pinterest Crawler for Image Downloads

This is a python crawler designed to download images from Pinterest. You can specify a search query or username, and the script will download all available images.

Installation

  1. Clone the repository & Install the required dependencies
git clone https://github.com/yung1231/Pinterest-Crawler.git

pip install -r requirements.txt
  1. chromedriver
    • Download the Chrome Driver from official website. Make sure to download the version that matches your Chrome browser version.

Usage

  1. Modify the configuration file config.cfg to specify the download path for the images.

  2. Run the script main.py with the following command

python main.py -t <ttype> -s <search>

Using argument

usage: main.py [-h] -t TTYPE -s SEARCH

optional arguments:
  -h, --help            show this help message and exit
  -t TTYPE, --type TTYPE
                        Search by 'pin' or 'name_created' or 'name_saved'(name is a string starting after @)
  -s SEARCH, --search SEARCH
                        Keyword you want to query

Example

python main.py -t pin -s "Bocchi The Rock"

Notes

  • The script currently supports downloading .jpg.png and .gif images.
  • The script uses multithreading to speed up image downloading..

About

Download images on Pinterest by using search or username

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages