update for tixcraft same event re-open.

master
Max 2023-11-29 10:40:59 +08:00 committed by GitHub
parent cbc7f4e799
commit fa270fd7b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -7481,7 +7481,7 @@ def tixcraft_main(driver, url, config_dict, tixcraft_dict, ocr, Captcha_Browser)
# special case for same event re-open. # special case for same event re-open.
if 'https://tixcraft.com/' == url: if 'https://tixcraft.com/' == url:
if "/activity/detail/" in config_dict["homepage"]: if "/ticket/area/" in config_dict["homepage"]:
if len(config_dict["homepage"].split('/'))==7: if len(config_dict["homepage"].split('/'))==7:
try: try:
driver.get(config_dict["homepage"]) driver.get(config_dict["homepage"])