forked from raidensakura/hoyolab-auto-login
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
28 lines (20 loc) · 1.14 KB
/
.env.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
## Your Hoyolab account cookie
## You can also append your Discord ID in here to webhook notification ping
COOKIE="DISCORD_ID=123456; first_cookie=abcdefg123; ...#second_cookie=abcdefg123; ..."
## This is not required but recommended to set it to the same one as your browser
# USER_AGENT="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0"
## Optional Discord Webhook URL for notification
# DISCORD_WEBHOOK="https://discord.com/api/webhooks/may_your_pulls_be_blesed"
## If you have an external scheduler like crontab to start the script, set this to True
# RUN_ONCE="True"
## If you use 2captcha as Geetest bypass service, you can put your API key here
# 2CAPTCHA_API="asdfghjklk..."
## If you use Capsolver as Geetest bypass service, you can put your API key here
# CAPSOLVER_API="CAP-qwertyuiop..."
## You may want to set this when debugging
# LOG_LEVEL="DEBUG"
## Set this if you don't have an external scheduler but still want to execute login at certain time of day
## Must range from 00:00 to 23:59
# SCHEDULE="01:59"
## Additional timezone for the schedule above, defaults to UTC if unset
# TIMEZONE="Asia/Kuala_Lumpur"