kickstarter-crawler
Advanced tools
Comparing version 2.2.0 to 2.3.0
{ | ||
"name": "kickstarter-crawler", | ||
"version": "2.2.0", | ||
"version": "2.3.0", | ||
"description": "Kickstarter crawler that does what you think it would", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -5,6 +5,10 @@ # Getting started | ||
const url = 'https://www.kickstarter.com/projects/maxtemkin/philosophy-posters'; | ||
let result = kickstarterCrawler(url); | ||
// kickstarter project url | ||
const URL = 'https://www.kickstarter.com/projects/maxtemkin/philosophy-posters/' | ||
// returns promise | ||
const result = kickstarterCrawler(URL); | ||
result.then((data) => console.log(data)); | ||
// output | ||
@@ -23,4 +27,8 @@ { | ||
backers: 1393, | ||
pledges: [ [ 20, 1003 ], [ 30, 359 ] ] | ||
pledges: [ [ 20, 1003 ], [ 30, 359 ] ], | ||
thumbnail: 'https://ksr-ugc.imgix.net/assets/011/314/328/15f265a2407f6dcb311ad61bad886b01_original.jpg?ixlib=rb-2.1.0&crop=faces&w=1552&h=873&fit=crop&v=1463680857&auto=format&frame=1&q=92&s=c787b7ea241aefb1f14a5acf9b939125', | ||
project_url: 'https://kickstarter.com/projects/maxtemkin/philosophy-posters', | ||
videoDuration: '02:08' | ||
} | ||
``` | ||
@@ -27,0 +35,0 @@ |
8006
43