Run pip install -r requirements.txt
to install required components.
include/config.example.py
to include/config.py
.TG_BOT_TOKEN
, TG_BOT_MASTER
in include/config.py
with your own bot token and administrator's telegram userid.python main.py --initdb
once to initialize SQLite database (my_app.db).python main.py
to start the bot. By default, the bot will checkin all the normal accounts at 0:10 UTC+8, and retry the failed ones at 0:25.
You can change this behavior in include/config.py
.
Following step are proceed when checkin.
oldInfo
and def
from web page.id
, uid
, date
, and created
in oldInfo
by the ones in def
.ismoved
, jhfjrq
, jhfjjtgj
, jhfjhbcc
, sfxk
, xkqq
, sfsfbh
, ismoved
, xjzd
, bztcyy
.address
, city
, province
, area
out from geo_api_info
if they are empty.Pull requests and issues are always welcome.
Special thanks to ipid/bupt-ncov-report.