Pinterest Crawler
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
Metadata
Release files for pinterest-crawler 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pinterest_crawler-0.2.0.tar.gz | 17.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pinterest_crawler-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 35.6 kB
Release files / pinterest_crawler-0.2.0.tar.gz
| Download URL | pinterest_crawler-0.2.0.tar.gz |
|---|---|
| Size | 17.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9390d2cfe1086048aaf3f7648274edd6cc4465c1b505f078a1fcbc1bb3fd5d17
|
|
BLAKE2b-256 checksum How to use checksums |
db2090f0f7e4e671313732ed0b9f30aa3d8c5bc090ea9b3f77d40fddbcc5f994
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.9.19
|
Release files / pinterest_crawler-0.2.0-py3-none-any.whl
| Download URL | pinterest_crawler-0.2.0-py3-none-any.whl |
|---|---|
| Size | 18.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
83df635ae8af1ade01965e03433a2ca97d425696007f91660a2604456ee8397d
|
|
BLAKE2b-256 checksum How to use checksums |
ffdb8db06d0ceb0b33021266b45a0f85bf25dcf5753aef6897f6fa0da6be50de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.9.19
|