diff --git a/zodgame/zodgame.py b/zodgame/zodgame.py index c9c31ec..7c27842 100644 --- a/zodgame/zodgame.py +++ b/zodgame/zodgame.py @@ -2,14 +2,11 @@ import io import re import sys -import platform -import subprocess sys.stdout = io.TextIOWrapper(sys.stdout.buffer,encoding='utf-8') import undetected_chromedriver as uc from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.common.by import By -import requests def zodgame_checkin(driver, formhash): checkin_url = "https://zodgame.xyz/plugin.php?id=dsu_paulsign:sign&operation=qiandao&infloat=1&inajax=0" @@ -28,11 +25,12 @@ def zodgame_checkin(driver, formhash): checkin_query = checkin_query.replace("\n", "") driver.set_script_timeout(240) resp = driver.execute_script("return " + checkin_query) - match = re.search('