需要
requests
pyquery
库,基于python3.5
-
ssh连接服务器
-
下载源代码
git clone git@github.com:wzx140/info_notify.git
-
按照注释,修改config.py中的my_sender , my_pass , my_user变量
-
使得会话持久化
screen -S info_notify
-
运行脚本
python info_notify/fetch.py
日志文件在info_notify/log.txt
中