Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hctilg/pinterest-crawler
Downloads all images suitable for search
https://github.com/hctilg/pinterest-crawler
crawler pinterest
Last synced: about 3 hours ago
JSON representation
Downloads all images suitable for search
- Host: GitHub
- URL: https://github.com/hctilg/pinterest-crawler
- Owner: hctilg
- Created: 2024-01-22T16:49:14.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-03-13T23:27:26.000Z (8 months ago)
- Last Synced: 2024-03-14T00:32:07.871Z (8 months ago)
- Topics: crawler, pinterest
- Language: PHP
- Homepage: https://pinterest.com
- Size: 1.59 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## **Pinterest Image Download by Keywords**
You can download as many images as you want about the searched words.[![pinterest](pinterest.png)](https://www.pinterest.com/search/pins/?q=Coffee)
## How to Run
```php
// checking the exists Library.
if (!file_exists('pinterest.php')) {
copy('https://raw.githubusercontent.com/hctilg/pinterest-crawler/main/pinterest.php', 'pinterest.php');
}// require Library.
require_once __DIR__ . '/pinterest.php';// Usage
$configs = new PinterestConfig("Coffee", 200, "orig", '');
$scraper = new PinterestScraper($configs);$scraper->downloadImages(); // download images directly
print_r($scraper->getUrls()); // just bring image links
```