Skip to content

TanJiaSheng/crowller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Typescript 实现爬虫项目

  • 安装
git clone https://github.com/TJS-95/crowller.git
  • 下载依赖
npm install

superagent 爬取页面数据(类似 axios 发请求)

npm i superagent --save
npm i @types/superagent --save-dev

cheerio 解析返回的 html,类似 jQuery

npm i cheerio --save-dev

项目采用单例模式和组合模式

About

typescript爬虫

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published