Get hoyo daily login rewards automatically!
Reason this release was yanked:
Outdated, please use v2+
Project description
hoyo-daily-login-helper
Get hoyo daily login rewards automatically!
Usage
- Get your cookie string, open the daily check in page
- Open a development console (F12) and insert the following code:
document.cookie
- Copy the returned string should be something like "ltoken=....; account_id=....;" this is your cookie string
- Open a terminal with the command prepared and enter:
$ hoyo-daily-logins-helper --cookie="your cookie string" --genshin
(or--starrail
for Honkai Star Rail) - Done!
Installation
Docker
The command line options are also available via environment variables which allows you to easily run this script in Docker/Podman!
$ docker run --rm --env GAME=starrail --env COOKIE="your cookie string" ghcr.io/atomicptr/hoyo-daily-logins-helper
pip
$ pip install hoyo-daily-logins-helper
PyPi: https://pypi.org/project/hoyo-daily-logins-helper/
Configuration
Cookie
You can provide the cookie information either via the COOKIE environment variable or using the --cookie CLI flag.
Game
You can provide the cookie information either via the GAME environment variable or using the --genshin/--starrail CLI flags.
Supported Games: Genshin Impact (genshin), Honkai Starrail (starrail)
Debug mode
If something doesn't work properly and/or you want to report an issue try running the tool with the DEBUG_MODE environment variable set to 1! Or provide the --debug flag!
$ DEBUG_MODE=1 hoyo-daily-logins-helper --starrail --cookie="..."
Language
If you want to see the results in other languages than English you can change them via the LANGUAGE environment variable
$ LANGUAGE=ja-jp hoyo-daily-logins-helper --genshin --cookie="..."
License
GNU General Public License v3
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for hoyo-daily-logins-helper-1.2.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | afcc10de287db3829c88f54da66e26ab9788fde4ca4cddcb76cf02e5cc9291b5 |
|
MD5 | 0eb023a8369b569d64ba6af12835e6ec |
|
BLAKE2b-256 | cc010b6156963e3cc2f52a9eab73b4de76c5e8f6a2898e07efe97dc7625b81b0 |
Hashes for hoyo_daily_logins_helper-1.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8ebabf07391dd647a01ff85e95fc560bb5b9e5a3e01f79adaa482df019120ac |
|
MD5 | 62e076ceb9fc88ddbf8660ffed54d004 |
|
BLAKE2b-256 | b424b31b910807bfdf30c5de4b88e55ca3072b90479cc20f203791b4593db69a |