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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0435255a41da999eb70ecf8143afd1ff42e684cb087bda453a3167529a2388c |
|
MD5 | 3287a20467bbe8ece50f90462642e35b |
|
BLAKE2b-256 | 2a302c47ef9a2e25f819a87c409ee6db9fd93552cb08e44d4e504094d97810fe |
Hashes for hoyo_daily_logins_helper-1.2.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | adcbb548663cc90ee294397f986148e5f79f3250384a866908cb0d5ae8cb3716 |
|
MD5 | 282e5f4c8a9acf4ae8300672820c608f |
|
BLAKE2b-256 | 95751cacb18a4e790c5c41e0d6b2137a81da00ef6829683c4ebf0d49f6571ced |