Просмотр исходного кода

Update Complie and Debug Video Address

naibo 1 год назад
Родитель
Сommit
bf320abf1a

+ 5 - 7
ElectronJS/README.md

@@ -1,3 +1,7 @@
+## 视频教程
+
+[从源代码编译程序并设计运行和调试任务指南(基于Ubuntu24.04)](https://www.bilibili.com/video/BV1VE421P7yj/)
+
 # 环境编译说明|Environment Compilation Instruction
 
 EasySpider分三部分:
@@ -66,7 +70,7 @@ chrome_linux64/ # for linux x64
 chrome_mac64/ # for mac x64
 ```
 
-然后,从下面的页面下载和**自己安装的Chrome版本一致**的Chromedriver:[https://chromedriver.chromium.org/downloads](https://chromedriver.chromium.org/downloads),把chromedriver放入刚刚的`chrome`文件夹内,并更名为下面的格式:
+然后,从下面的页面下载和**自己安装的Chrome版本一致**的Chromedriver:[https://googlechromelabs.github.io/chrome-for-testing/](https://googlechromelabs.github.io/chrome-for-testing/),把chromedriver放入刚刚的`chrome`文件夹内,并更名为下面的格式:
 
 ```
 chromedriver_win32.exe # for windows x32
@@ -184,10 +188,4 @@ Execute the following two CMD commands sequentially to package and publish the p
 ```
 package_win64.cmd
 clean_and_release_win64.cmd
-```
-
-### (可选)编译成安装包|(Optional) Compile to an installation package
-
-```
-npm run make
 ```

BIN
ElectronJS/XPathHelper.crx


+ 1 - 1
ExecuteStage/.vscode/launch.json

@@ -12,7 +12,7 @@
             "justMyCode": false,
             //  "args": ["--ids", "[7]", "--read_type", "remote", "--headless", "0"]
             // "args": ["--ids", "[9]", "--read_type", "remote", "--headless", "0", "--saved_file_name", "YOUTUBE"]
-            "args": ["--ids", "[1]", "--headless", "0", "--user_data", "0", "--keyboard", "0",
+            "args": ["--ids", "[0]", "--headless", "0", "--user_data", "0", "--keyboard", "0",
         "--read_type", "remote"]
             // "args": "--ids '[97]' --user_data 1 --server_address http://localhost:8074 --config_folder '/Users/naibo/Documents/EasySpider/ElectronJS/' --headless 0 --read_type remote --config_file_name config.json --saved_file_name"
         }

+ 4 - 0
ExecuteStage/Readme.md

@@ -1,3 +1,7 @@
+## 视频教程
+
+[从源代码编译程序并设计运行和调试任务指南(基于Ubuntu24.04)](https://www.bilibili.com/video/BV1VE421P7yj/)
+
 # 环境编译说明|Environment Compilation Instruction
 
 EasySpider分三部分:

+ 1 - 1
ExecuteStage/easyspider_executestage.py

@@ -261,7 +261,7 @@ class BrowserThread(Thread):
                         self.print_and_log(f"您的任务版本号为{self.task_version},循环点击不支持相对XPath写法,已自动切换为纯循环的XPath")
             elif option == GraphOption.Extract.value:  # 提取数据操作
                 parameters["recordASField"] = 0
-                parameters["params"] = parameters.get("params", parameters["paras"])  # 兼容0.5.0及以下版本的EasySpider
+                parameters["params"] = parameters.get("params", parameters.get("paras"))  # 兼容0.5.0及以下版本的EasySpider
                 parameters["clear"] = parameters.get("clear", 0)
                 parameters["newLine"] = parameters.get("newLine", 1)
 

+ 4 - 0
Extension/README.md

@@ -1,3 +1,7 @@
+## 视频教程
+
+[从源代码编译程序并设计运行和调试任务指南(基于Ubuntu24.04)](https://www.bilibili.com/video/BV1VE421P7yj/)
+
 # 环境编译说明|Environment Compilation Instruction
 
 EasySpider分三部分:

+ 1 - 1
Readme.md

@@ -120,7 +120,7 @@ Bilibili/B站视频教程:
 
 [写入MySQL数据库教程](https://www.bilibili.com/video/BV1os4y1679S/)
 
-[Cloudflare等极端反爬网站如何爬取](https://www.bilibili.com/video/BV1Ph4y1E7R9/)
+[从源代码编译程序并设计运行和调试任务指南(基于Ubuntu24.04)](https://www.bilibili.com/video/BV1VE421P7yj/)
 
 Refer to [Youtube Playlist](https://youtube.com/playlist?list=PL0kEFEkWrT7mt9MUlEBV2DTo1QsaanUTp) to see the video tutorials of EasySpider.