Code Monkey home page Code Monkey logo

hoyolab-daily-reward-claimer's Introduction

Hoyolab Daily Reward Claimer

Claim multiple account's daily reward without having to go to the website one by one.

Note: This project is a successor to genshin.py to make you easier using the daily reward function

Features

  • Claim your Hoyolab reward without opening the website using browser
  • Claim multiple accounts reward

Usage/Examples

First add accounts to the accounts.json, click here for more information about adding accounts.

python -m launcher.py

Or you can instead create a bat file so you dont have to run it using command prompt.

Running with bat file

To make it easier running the file, you can use bat file to run this, for example:

@echo off
echo Claiming daily rewards..
python launcher.py
pause

Adding accounts

First open up accounts.json, and the first thing you see should be like this.

{
  "accounts": [
    {"ltuid": "paste the token here", "ltoken": "paste your token here"}
  ]
}

You can customize it or even add more accounts like this.

{
  "accounts": [
    {"ltuid": "paste the token here", "ltoken": "paste your token here"},
    {"ltuid": "paste the token here", "ltoken": "paste your token here"},
    {"ltuid": "paste the token here", "ltoken": "paste your token here"}
  ]
}

How can i get my accounts ltuid and ltoken?

  1. Go to hoyolab.com.
  2. Login to your account.
  3. Press F12 to open Inspect Mode (ie. Developer Tools).
  4. Go to Application, Cookies, https://www.hoyolab.com.
  5. Copy ltuid and ltoken.

Authors

License

MIT

Support

For support please email me at [email protected] or contact me on discord (Cedric#8394)

hoyolab-daily-reward-claimer's People

Stargazers

 avatar

Watchers

 avatar

Forkers

raymondjiang1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.