Skip to content
This repository has been archived by the owner on Jul 5, 2019. It is now read-only.

alfredcai/xiangqi-refund

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 

Repository files navigation

xiangqi-refund

辣鸡享骑,每天要登记才能退款

享骑倒闭了,大家散了吧。

运行

下载selenuim 的 chromedriver,http://chromedriver.chromium.org/downloads

改变 xiangqi_refund_selenium.py 文件中的CHROME_DRIVER_PATH的值,指向下载的 chromedriver 所在位置

运行下面代码

python3 xiangqi_refund_selenium.py 小明 13812341234

定时任务

$ crontab -u root -e

最后一行写

0 9 * * * python3 /root/xiangqi/xiangqi_refund_selenium.py 小明 13812341234

(可选)多次测试可以算上启动时间

59 8 * * * sleep 55; python3 /root/xiangqi/xiangqi_refund_selenium.py 小明 13812341234

About

辣鸡享骑,每天要登记才能退款

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages