Exemple #1
0
 def setUpClass():
     with warnings.catch_warnings():
         warnings.simplefilter("ignore", ResourceWarning)
         gs.set_cookie_auto()
Exemple #2
0
import genshinstats as gs
import time

gs.set_cookie_auto()

while True:
    success = gs.sign_in()
    if success:
        print('Claimed daily reward.')
    else:
        print('Could not claim daily rewards')
    time.sleep(24*60*60 - 2)
def set_cookie():
    gs.set_cookie_auto()