Skip to content

jackmew/node-crawler-wallstreetcn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

git clone git@github.com:jackmew/node-crawler-wallstreetcn.git  

Usage

cd node-crawler-wallstreetcn  
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.

saveToJsonFile

Todo

  • Command Line Interface

About

node-crawler-cn-Wallstreet - cheerio & nightmare

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors