Răsfoiți Sursa

Linux update

Naibo Wang 2 ani în urmă
părinte
comite
3bb06403d4

+ 2 - 0
.temp_to_pub/.gitignore

@@ -8,3 +8,5 @@ EasySpider_windows_x64/user_data
 *.7z*
 config.json
 mysql_config.json
+**/Code
+**/user_data

+ 4 - 3
.temp_to_pub/EasySpider_Linux_x64/Code/easyspider_executestage.py

@@ -1502,7 +1502,7 @@ if __name__ == '__main__':
                 options=options, chrome_options=option, executable_path=driver_path)
         elif cloudflare == 1:
             browser_t = MyUCChrome(
-                options=options, chrome_options=option, executable_path=driver_path)
+                options=options, chrome_options=option, driver_executable_path=driver_path)
             print("Pass Cloudflare Mode")
             print("过Cloudflare验证模式")
         event = Event()
@@ -1532,8 +1532,9 @@ if __name__ == '__main__':
             with Listener(on_press=on_press_creator(press_time, event), on_release=on_release_creator(event, press_time)) as listener:
                 listener.join()
         except:
-            print("您的操作系统不支持暂停功能。")
-            print("Your operating system does not support the pause function.")
+            pass
+            # print("您的操作系统不支持暂停功能。")
+            # print("Your operating system does not support the pause function.")
             
         
     # print("线程长度:", len(threads) )

+ 1 - 1
.temp_to_pub/EasySpider_Linux_x64/Code/myChrome.py

@@ -12,7 +12,7 @@ from selenium.webdriver.common.desired_capabilities import DesiredCapabilities
 from selenium.webdriver.support.ui import Select
 from selenium.webdriver import ActionChains
 from selenium.webdriver.common.by import By
-import undetected_chromedriver as uc
+import undetected_chromedriver_ES as uc
 desired_capabilities = DesiredCapabilities.CHROME
 desired_capabilities["pageLoadStrategy"] = "none"
 

Fișier diff suprimat deoarece este prea mare
+ 0 - 0
.temp_to_pub/EasySpider_Linux_x64/tasks/6.json


BIN
ElectronJS/EasySpider_en.crx


BIN
ElectronJS/EasySpider_zh.crx


+ 1 - 1
ElectronJS/package_linux64.sh

@@ -23,7 +23,7 @@ cp ../ExecuteStage/easyspider_executestage.py ../.temp_to_pub/EasySpider_Linux_x
 cp ../ExecuteStage/myChrome.py ../.temp_to_pub/EasySpider_Linux_x64/Code
 cp ../ExecuteStage/utils.py ../.temp_to_pub/EasySpider_Linux_x64/Code
 cp ../ExecuteStage/requirements.txt ../.temp_to_pub/EasySpider_Linux_x64/Code
-cp -Rf ../undetected_chromedriver_ES ../.temp_to_pub/EasySpider_Linux_x64/Code
+cp -Rf ../ExecuteStage/undetected_chromedriver_ES ../.temp_to_pub/EasySpider_Linux_x64/Code
 chmod 777 ../.temp_to_pub/EasySpider_Linux_x64/easy-spider.sh
 
 rm -rf ../.temp_to_pub/EasySpider_Linux_x64/user_data

Unele fișiere nu au fost afișate deoarece prea multe fișiere au fost modificate în acest diff