Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 786 Bytes

README.md

File metadata and controls

13 lines (11 loc) · 786 Bytes

Genshin Impact Hoyolab Daily Reward collector

How to use?

  • Install python3 and (Optional)virtualenv
  • (Optional)Create a virtual environment using virtualenv -p python3 venv
  • (Optional)Activate virtualenv using source venv/bin/activate or \env\Scripts\activate on windows
  • Run pip install -r requirements.txt
  • (Optional)Install the relevant drivers using webdrivermanager firefox chrome
  • Login to hoyolab
  • Get relevant cookies mentioned in config.sample.py and put them in a new file named config.py
  • Run the script as py script.py or python3 script.py (default chrome driver) or with the flags -F/--firefox for the firefox driver
  • Run daily-task.bat to add it as an automated task to which runs everyday after 2 pm