Make an API by Scraping Ajax Calls with NodeJS

Опубликовано: 11 Февраль 2025
на канале: optikalefx
8,354
87

Were gonna make an API out of Kickstarter.com by scraping their AJAX calls. Were gonna use NodeJS with the help of our framework called Cornerstore.

Npm install -g cs to get the framework.
Then you can cs init {{project}}
To start the framework and serve your project, just 'cs run' and then point your browser to localhost:3000

Using this technique you can really scrape any websites ajax calls and for your own API calls.

Note, kickstarter did not give me permissions, but I think this is OK, since it's all public data anyway. Thanks KS!