Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 571 Bytes

README.md

File metadata and controls

38 lines (25 loc) · 571 Bytes

spider

利用 eggjs 重构一个爬虫项目

涉及的技术点

  • MongoDB
  • 定时任务
  • puppeteer

QuickStart

see egg docs for more detail.

Development

$ npm i
$ npm run dev
$ open http://localhost:7001/

Deploy

$ npm start
$ npm stop

npm scripts

  • Use npm run lint to check code style.
  • Use npm test to run unit test.
  • Use npm run autod to auto detect dependencies upgrade, see autod for more detail.