node-crawler-wallstreetcn

1.0.0 • Public • Published

node-crawler-cn-Wallstreet

A node crawler using cheerio & nightmare to scrape the news & the article of news from wallstreetcn, and save the data to json file.

wallstreetcn

Installation

npm install node-crawler-wallstreetcn

Usage

node index.js

Specify:
newstype: [global,shares,bonds,commodities,forex,enterprise,economy,charts,china,us,europe,japan]
numOfRecord: 5

node index.js forex 10

Dev mode to show the log .

DEBUG=nightmare node index.js commodities 8

Then it will save json file to /output.

Package Sidebar

Install

npm i node-crawler-wallstreetcn

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

765 kB

Total Files

12

Last publish

Collaborators

  • zestlifia