pinterest-crawler icon indicating copy to clipboard operation
pinterest-crawler copied to clipboard

Downloads all images suitable for search

Pinterest Image Download by Keywords

You can download as many images as you want about the searched words.

Requirements

  • Python 3+
  • Python "requests" library (pip install requests)

How to Run

from src import PinterestScraper, PinterestConfig

configs = PinterestConfig(search_keywords="Atatürk", # Search word
                          file_lengths=200,     # total number of images to download (default = "100")
                          image_quality="orig", # image quality (default = "orig")
                          bookmarks="")         # next page data (default= "")

PinterestScraper(configs).download_images() # download images directly (photos/atatürk, photos/web-scraping)

print(PinterestScraper(configs).get_urls()) # get image links