igm-scrape

1.0.2 • Public • Published

igm-scrape GitHub CircleCI

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

  1. Go to http://www.igmchicago.org/igm-economic-experts-panel
  2. Opening your browser dev tools
  3. Navigate to the network tab
  4. As shown in the follow screenshot, select the igm-economic-experts-panel request, and copy the cookie string beginning with incap_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

Readme

Keywords

none

Package Sidebar

Install

npm i igm-scrape

Weekly Downloads

2

Version

1.0.2

License

MIT

Unpacked Size

3.03 MB

Total Files

11

Last publish

Collaborators

  • cfhull