bilibiliou / Get_BaiDuNewsRss_By_NodeJS

Get daily news from baidu rss_api by nodejs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Get_BaiDuNewsRss_By_NodeJS

Get daily news from baidu rss_api by nodejs

Get Start

Frist you must download NodeJs and MongoDB

set your MongoDB folder bin path into environment variable

set dbpath on --> data/db

set the db port --> 27017

Install Dependencies

npm install -d 

set collection

open the file database/dao.js

Change the variable "modelName" to your free collection name

(Aslo you can use the default)

GET Data

open cmd on your root

node app

then open the mongo and See these news

Plese Feel Free~~

About

Get daily news from baidu rss_api by nodejs


Languages

Language:JavaScript 100.0%