示例#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()