pip instsall -e ./ -v
python ceac_tracker/db/sqlite_store.py
Insert application_id to database manually.
cp ceac_tracker/config/keys_template.json ceac_tracker/config/keys.json
Then edit keys.json
python ceac_tracker/refresh_once.py
# The number indicates interval in seconds
python ceac_tracker/refresh_periodically.py 3600
# Run in background. `-u` means disable output buffer
# or nohup.out will have no log.
nohup python -u ceac_tracker/refresh_periodically.py 3600&
I use 2captcha to resolve captcha.
And use DingTalk Robot for notification.
You probably need to replace them if you don't want to use these two service.
To replace captcha resolving service, you need to implement another resolve_captcha(image_base64)
function similar to what in two_captcha_resolve.py
,
and replace all resolve_captcha
to your own function.
def resolve_captcha(image_base64: str) -> str:
pass
To replace notification service, try to replace ding_talk_notice(msg)
to your own function.
Sorry for the unplugable code, but it's only for my own use now. Welcome for pull requests to make it better.