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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c78acb85cbd1443a4d39ec9951c783abb7192d2a6cfa6373becac2c7e9904f81 |
|
MD5 | faa937bd25a810b87b91c98593dc44ce |
|
BLAKE2b-256 | 53621a61cf936dd0d1d02f568c42bb0fc660d60dc0bee18254abbc8e171a72c6 |
Hashes for hoyo_daily_logins_helper-1.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c49cd9aeaf729c169b2a5ecf8bf83aad32a3d5b7f999d585e889d087e7ac4d1b |
|
MD5 | 751985f34c28bf02213c0acc93fed069 |
|
BLAKE2b-256 | 43e29d4bcedd23fce6ee4e3fc2524d2d39e9e7a14b5760cf18c6118ecaa75b50 |