You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

pinterest-crawler

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pinterest-crawler

Pinterest Crawler: Download as many images as you want about the searched words

0.2.0
pipPyPI
Maintainers
1

Pinterest Crawler

Upload Python Package Python package Python application Downloads

Downloads HD images from pinterest by your favorite keywords. A useful tool to create a dataset for machine learning projects.

Install

Install the package with pip in a Python>=3.8 environment:

pip install pinterest-crawler

Usage

CLI

Pinterest Crawler may be used directly in the Command Line Interface (CLI):

pinterest-crawler --keywords lion tiger bear

Also you can write your favorite keywords in a file for example my_keywords.txt and set path of file in --keywords argument:

pinterest-crawler --keywords my_keywords.txt

Python

Pinterest Crawler may also be used directly in a Python environment, and accepts the same arguments as in the CLI example above:

from pinterest_crawler import PinterestCrawler


pinterest_crawler = PinterestCrawler()
pinterest_crawler(keywords=['lion', 'programmer'])

TODO

  • download images in a loop
  • download images in a specific size
  • download images in a specific format

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts