diff --git a/ElectronJS/README.md b/ElectronJS/README.md index f3489e0..bef4d07 100644 --- a/ElectronJS/README.md +++ b/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 ``` \ No newline at end of file diff --git a/ElectronJS/XPathHelper.crx b/ElectronJS/XPathHelper.crx new file mode 100644 index 0000000..d24c7a2 Binary files /dev/null and b/ElectronJS/XPathHelper.crx differ diff --git a/ExecuteStage/.vscode/launch.json b/ExecuteStage/.vscode/launch.json index ddf20a3..fce598b 100644 --- a/ExecuteStage/.vscode/launch.json +++ b/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" } diff --git a/ExecuteStage/Readme.md b/ExecuteStage/Readme.md index da3ee06..71324a0 100644 --- a/ExecuteStage/Readme.md +++ b/ExecuteStage/Readme.md @@ -1,3 +1,7 @@ +## 视频教程 + +[从源代码编译程序并设计运行和调试任务指南(基于Ubuntu24.04)](https://www.bilibili.com/video/BV1VE421P7yj/) + # 环境编译说明|Environment Compilation Instruction EasySpider分三部分: diff --git a/ExecuteStage/easyspider_executestage.py b/ExecuteStage/easyspider_executestage.py index 5a68612..63a6690 100644 --- a/ExecuteStage/easyspider_executestage.py +++ b/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) diff --git a/Extension/README.md b/Extension/README.md index 890cd61..fc94d8b 100644 --- a/Extension/README.md +++ b/Extension/README.md @@ -1,3 +1,7 @@ +## 视频教程 + +[从源代码编译程序并设计运行和调试任务指南(基于Ubuntu24.04)](https://www.bilibili.com/video/BV1VE421P7yj/) + # 环境编译说明|Environment Compilation Instruction EasySpider分三部分: diff --git a/Readme.md b/Readme.md index e454e6d..0697ee0 100644 --- a/Readme.md +++ b/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.