https://github.com/serpo-dev/pinterest-scraper-similar
The script can scrap the links to similar pins of the source pin and download images by them.
https://github.com/serpo-dev/pinterest-scraper-similar
Last synced: about 1 year ago
JSON representation
The script can scrap the links to similar pins of the source pin and download images by them.
- Host: GitHub
- URL: https://github.com/serpo-dev/pinterest-scraper-similar
- Owner: serpo-dev
- Created: 2023-07-08T12:04:16.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-07-09T03:37:33.000Z (almost 3 years ago)
- Last Synced: 2023-08-07T19:18:57.881Z (almost 3 years ago)
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pinterest similar pins scraper (breadth-first search)
## Introduction
The script can scrap the links to the similar pins of the source one and also use the obtained links in the same algo as the source. Thus, the script works according to the breadth-first search algorithm. The depth of scraping is set in the command line, by default, it is 3, which, when taking the first 100 similar pins, will result in about 1 million links to pins. Then the script also allows downloading all images according to the obtained links to pins.
## Deps
- selenium (4.10.0)
## Usage
1. Install dependencies:
`pip install -r requirements.txt`
2. Run by the command:
`python main.py`