예제 #1
0
 def setUpClass():
     with warnings.catch_warnings():
         warnings.simplefilter("ignore", ResourceWarning)
         gs.set_cookie_auto()
예제 #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)
예제 #3
0
def set_cookie():
    gs.set_cookie_auto()