Skip to content

Node爬虫获取用户最新微博信息并且对比是否更新,更新了则发送邮件

Notifications You must be signed in to change notification settings

unliar/weiboNodeMail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

微博定时爬虫

Node爬虫获取用户的最新微博信息,并且对比是否更新,更新了则发送邮件

安装依赖

npm i

启动

npm test

或者

node index.js

修改config.json配置即可运行

{
  "service": "qq",             //请去nodemailer 模块查找你的邮件服务商简写,网易不支持...
  "user": "[email protected]",  //发送邮箱,发信人邮箱
  "to": "[email protected]",    //接受邮箱,建议一致避免被block
  "pass": "",                  //qq邮箱是使用授权码
  "uid": 1078007814            // 微博用户的uid 请f12控制台查看一下
}

About

Node爬虫获取用户最新微博信息并且对比是否更新,更新了则发送邮件

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published