jflefebvre / pinterest

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

Home Page:http://iamjeff.be/pinterest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

http://iamjeff.be/pinterest


Languages

Language:PHP 79.8%Language:CSS 16.8%Language:JavaScript 3.2%Language:Shell 0.1%