-
Notifications
You must be signed in to change notification settings - Fork 3
Home
Sai Kishore edited this page Jul 23, 2021
·
1 revision
Pinterest Board Scrapper
-
Download or Clone this repo
-
cd
in to the folder -
Run
npm install
oryarn install
command to install dependencies -
Run
npm start
to start the server -
Open
localhost:3000
in browser
Url takes two parameters
-
username : Pinterest username
-
boardName : Pinterest board name
-
URLs
-
To get Info :
- Go to
http://localhost:3000/api/sai123456789000000/weird-words/info
in your browser
- Go to
-
Result
{ "title": "Weird Words", "totalPins": 341 }
-
To get pins
- Go to
http://localhost:3000/api/sai123456789000000/weird-words/pins
in your browser
- Go to
-
Result
{ "images": [ { "src": "https://i.pinimg.com/280x280_RS/2e/2d/50/2e2d505f82e118adf0ac6e742e503d82.jpg", "alt": "Words" }, { "src": "https://i.pinimg.com/564x/2f/8e/1e/2f8e1e44ebac2f3536c991524bfa114f.jpg", "alt": " The Words, Cool Words, Favorite Quotes, Best Quotes, Love Quotes, Inspirational Quotes, Daily Quotes, Motivational, Pretty Words" }, { ... ] }
- Run
npm run tsc
to compile.TS
to.JS
- Run
npm run jsc
to runindex.js