2023-11-02, update for ticketmaster.sg
parent
40f021ff9c
commit
3aa3f79605
|
@ -55,7 +55,7 @@ import webbrowser
|
|||
|
||||
import chromedriver_autoinstaller
|
||||
|
||||
CONST_APP_VERSION = "MaxBot (2023.11.01)"
|
||||
CONST_APP_VERSION = "MaxBot (2023.11.02)"
|
||||
|
||||
CONST_MAXBOT_CONFIG_FILE = "settings.json"
|
||||
CONST_MAXBOT_LAST_URL_FILE = "MAXBOT_LAST_URL.txt"
|
||||
|
@ -780,7 +780,19 @@ def get_driver_by_config(config_dict):
|
|||
print("create web driver object fail @_@;")
|
||||
else:
|
||||
try:
|
||||
NETWORK_BLOCKED_URLS = ['*woff2','*woff','*google-analytics.*','*googletagmanager.*','*googletagservices.*','*youtube.com*','*player.youku.*','*e2elog.fetnet.net*']
|
||||
NETWORK_BLOCKED_URLS = ['*/adblock.js'
|
||||
,'*google-analytics.*'
|
||||
,'*googletagmanager.*'
|
||||
,'*googletagservices.*'
|
||||
,'*play.google.com/*'
|
||||
,'*.doubleclick.net/*'
|
||||
,'*.rollbar.com/*'
|
||||
,'*.cloudfront.com/*'
|
||||
,'*.lndata.com/*'
|
||||
,'*twitter.com/i/*'
|
||||
,'*youtube.com*'
|
||||
,'*player.youku.*'
|
||||
,'*e2elog.fetnet.net*']
|
||||
driver.execute_cdp_cmd('Network.setBlockedURLs', {"urls": NETWORK_BLOCKED_URLS})
|
||||
driver.execute_cdp_cmd('Network.enable', {})
|
||||
if 'kktix.c' in homepage:
|
||||
|
|
|
@ -22,7 +22,7 @@ import sys
|
|||
import threading
|
||||
import webbrowser
|
||||
|
||||
CONST_APP_VERSION = "MaxBot (2023.10.23)"
|
||||
CONST_APP_VERSION = "MaxBot (2023.11.02)"
|
||||
|
||||
CONST_MAXBOT_LAUNCHER_FILE = "config_launcher.json"
|
||||
CONST_MAXBOT_CONFIG_FILE = "settings.json"
|
||||
|
|
|
@ -34,7 +34,7 @@ import ssl
|
|||
|
||||
ssl._create_default_https_context = ssl._create_unverified_context
|
||||
|
||||
CONST_APP_VERSION = "MaxBot (2023.11.01)"
|
||||
CONST_APP_VERSION = "MaxBot (2023.11.02)"
|
||||
|
||||
CONST_MAXBOT_CONFIG_FILE = "settings.json"
|
||||
CONST_MAXBOT_LAST_URL_FILE = "MAXBOT_LAST_URL.txt"
|
||||
|
|
|
@ -27,7 +27,7 @@ import pyperclip
|
|||
import tornado
|
||||
from tornado.web import Application
|
||||
|
||||
CONST_APP_VERSION = "MaxBot (2023.10.23)"
|
||||
CONST_APP_VERSION = "MaxBot (2023.11.02)"
|
||||
|
||||
CONST_MAXBOT_QUESTION_FILE = "MAXBOT_QUESTION.txt"
|
||||
|
||||
|
|
Loading…
Reference in New Issue