Skip to content

The script has been working for a long time and it was really cool, but Pinterest prevent webscraping. You should be able to webscrap the first page of pins but not more thant that. -- A PHP and casperjs scripts to webscrap and display elegantly your Pinterest with WookMark jQuery plugin -- The script

jflefebvre/pinterest

Repository files navigation

pinterest

This project allows to

  • Web scrap your pinterest data
  • Displays your pins very elegantly with WookMark jQuery plugin and lightbox.

I assume that you have the following packages installed in your path.

  • casperjs
  • imagemagick (convert command) to generate the thumbnails

Cookbook

Create a new sqlite db names pinterest.db in the root of the project

Example:

sqlite3 pinterest.db

Then, create a tmp table with the following command

 create table tmp (tmp int);

Exit from sqlite with .exit

Run the following scripts to prepare the data

casperjs --ssl-protocol=any pinterest-casper.js <user_name>

It will generate a json file with all your pins data.

php pinterest-webscraper.php

It will import original pins in pins folder and will generate the thumbnails for WookMark

That's all !

Feel free to drop me a line if you like this project or have some suggestions. (lefebvre.jf@gmail.com)

About

The script has been working for a long time and it was really cool, but Pinterest prevent webscraping. You should be able to webscrap the first page of pins but not more thant that. -- A PHP and casperjs scripts to webscrap and display elegantly your Pinterest with WookMark jQuery plugin -- The script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published