TRUECAPTCHA_USERID = os.environ.get("TRUECAPTCHA_USERID", "euextend")
TRUECAPTCHA_APIKEY = os.environ.get("TRUECAPTCHA_APIKEY", "deJhWBaqgd6QDN4BqJGf")
TG_BOT_TOKEN = '你的TG_BOT_TOKEN' TG_USER_ID = '你的TG_USER_ID'
USERNAME = os.environ.get("EUSERV_USERNAME", "你的德雞用戶名")
PASSWORD = os.environ.get("EUSERV_PASSWORD", "你的德雞密碼")
[Bot Father] https://t.me/BotFather 並複製Bot Token
[複製Telegram ID] https://t.me/userinfobot
[取得Gmail API] https://console.cloud.google.com/
3-4 已授權的重新導向 URI:http://localhost:36666/
wget https://raw.githubusercontent.com/SAOJSM/EU_CHICK_EXTEND_CHT/main/gmail_api.py
wget https://raw.githubusercontent.com/SAOJSM/EU_CHICK_EXTEND_CHT/main/eu.py
pip3 install --upgrade google-api-python-client google-auth-httplib2 google-auth-oauthlib beautifulsoup4 requests pysocks
python3 gmail_api.py 你的email
crontab -e
0 1 * * * /usr/bin/python3 /root/eu.py
0 1 * * * 定義為每天0點1分執行,可自行修改為對應時間,/root/eu.py請改為eu.py所在路徑
crontab -l
crontab -l是為了查看是否有成功設定crontab