remove extensions

master
Max 2023-09-01 14:43:34 +08:00 committed by GitHub
parent b4955c0b94
commit c02f86d081
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

View File

@ -54,7 +54,7 @@ import webbrowser
import argparse import argparse
import chromedriver_autoinstaller import chromedriver_autoinstaller
CONST_APP_VERSION = "MaxBot (2023.08.21)" CONST_APP_VERSION = "MaxBot (2023.08.31)"
CONST_MAXBOT_CONFIG_FILE = "settings.json" CONST_MAXBOT_CONFIG_FILE = "settings.json"
CONST_MAXBOT_LAST_URL_FILE = "MAXBOT_LAST_URL.txt" CONST_MAXBOT_LAST_URL_FILE = "MAXBOT_LAST_URL.txt"
@ -328,9 +328,6 @@ def get_favoriate_extension_path(webdriver_path):
print("webdriver_path:", webdriver_path) print("webdriver_path:", webdriver_path)
extension_list = [] extension_list = []
extension_list.append(os.path.join(webdriver_path,"Adblock_3.18.1.0.crx")) extension_list.append(os.path.join(webdriver_path,"Adblock_3.18.1.0.crx"))
extension_list.append(os.path.join(webdriver_path,"Buster_2.0.1.0.crx"))
extension_list.append(os.path.join(webdriver_path,"no_google_analytics_1.1.0.0.crx"))
extension_list.append(os.path.join(webdriver_path,"proxy-switchyomega_2.5.21.0.crx"))
return extension_list return extension_list
def get_chromedriver_path(webdriver_path): def get_chromedriver_path(webdriver_path):