-
Notifications
You must be signed in to change notification settings - Fork 1
netgen-inc/weibo_deleter
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
配置: 1、复制etc/settings.json.dist为etc/settings.json 2、按照配置说明修改配置文件 { "logFile":"microblog.log", //日志文件路径 "mode":"debug", //运行模式 "deletersCount":10,//并发数 "" "weibo":{ "appkey":"888888888", //新浪微博分配的应用编号 "secret":"888888888888888888", //新浪微博分配的密钥 "host":"api.weibo.com",//新浪的服务器 "remove":"/2/statuses/destroy.json",//删微博的uri "token":"/oauth2/access_token", "interval":60 //同一个账号的发微博间隔,单位秒 }, "mysql":{ "host":"172.16.33.237", "user":"stockradar", "password":"stockradar", "database":"stock_radar" }, "queue":{ "remove":"weibo_delete", //删微博的任务队列 "interval":10000, //轮询间隔,单位是毫秒 "host":"172.16.33.237", "port":3000, "retry":10 //如果过出队次数超过,则强制将任务置为完成状态 } } 运行: 执行命令 node delete.js
About
weibo deleter
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published