1.0.2 • Published 5 years ago
igm-scrape v1.0.2
igm-scrape
igm-scrape is a web scraper that pulls data from the IGM Economic Experts Panel at http://www.igmchicago.org/igm-economic-experts-panel
Note: Currently does not support special surveys
Prerequisites
node.js
npm
Cookie from http://www.igmchicago.org/igm-economic-experts-panel
How to get cookie
- Go to
http://www.igmchicago.org/igm-economic-experts-panel
- Opening your browser dev tools
- Navigate to the
network
tab - As shown in the follow screenshot, select the
igm-economic-experts-panel
request, and copy the cookie string beginning withincap_ses
Running
NPM
$ npm i igm-scrape
$ igm-scrape <cookie>
Manual
$ git clone <this repository>
$ cd <cloned dir>
$ node index.js <cookie>
File will be saved to the current directory as igmdata.json
License
This project is licensed under the MIT License - see the LICENSE file for details