From f847ac6efdcd5c56881ef654aec0c1cb64886bcd Mon Sep 17 00:00:00 2001 From: naibo Date: Sat, 15 Jul 2023 05:36:26 +0800 Subject: [PATCH] Option Select by Loop --- ElectronJS/clean_and_release_win32.cmd | 1 + ElectronJS/clean_and_release_win64.cmd | 1 + ElectronJS/package_linux64.sh | 1 + ElectronJS/package_macos.sh | 1 + ElectronJS/src/taskGrid/FlowChart.html | 34 ++- ElectronJS/src/taskGrid/FlowChart_CN.html | 38 ++- ElectronJS/src/taskGrid/logic.js | 20 +- ElectronJS/tasks/177.json | 344 +++++++++++++++++++++- ElectronJS/tasks/178.json | 1 + ElectronJS/tasks/179.json | 159 ++++++++++ ElectronJS/tasks/180.json | 1 + ExecuteStage/.vscode/launch.json | 2 +- ExecuteStage/easyspider_executestage.py | 23 +- ExecuteStage/utils.py | 4 +- 14 files changed, 594 insertions(+), 36 deletions(-) create mode 100644 ElectronJS/tasks/178.json create mode 100644 ElectronJS/tasks/179.json create mode 100644 ElectronJS/tasks/180.json diff --git a/ElectronJS/clean_and_release_win32.cmd b/ElectronJS/clean_and_release_win32.cmd index 6a8b0c0..7f584dc 100644 --- a/ElectronJS/clean_and_release_win32.cmd +++ b/ElectronJS/clean_and_release_win32.cmd @@ -16,6 +16,7 @@ copy ..\ExecuteStage\myChrome.py ..\.temp_to_pub\EasySpider_windows_x32\Code copy ..\ExecuteStage\utils.py ..\.temp_to_pub\EasySpider_windows_x32\Code copy ..\ExecuteStage\requirements.txt ..\.temp_to_pub\EasySpider_windows_x32\Code xcopy ..\ExecuteStage\undetected_chromedriver_ES ..\.temp_to_pub\EasySpider_windows_x32\Code\undetected_chromedriver_ES /E /I /Y +xcopy ..\ExecuteStage\.vscode ..\.temp_to_pub\EasySpider_windows_x32\Code\.vscode /E /I /Y rmdir /s /q ..\.temp_to_pub\EasySpider_windows_x32\user_data rmdir /s /q ..\.temp_to_pub\EasySpider_windows_x32\execution_instances mkdir ..\.temp_to_pub\EasySpider_windows_x32\execution_instances diff --git a/ElectronJS/clean_and_release_win64.cmd b/ElectronJS/clean_and_release_win64.cmd index 3c287dd..12548c9 100644 --- a/ElectronJS/clean_and_release_win64.cmd +++ b/ElectronJS/clean_and_release_win64.cmd @@ -16,6 +16,7 @@ copy ..\ExecuteStage\myChrome.py ..\.temp_to_pub\EasySpider_windows_x64\Code copy ..\ExecuteStage\utils.py ..\.temp_to_pub\EasySpider_windows_x64\Code copy ..\ExecuteStage\requirements.txt ..\.temp_to_pub\EasySpider_windows_x64\Code xcopy ..\ExecuteStage\undetected_chromedriver_ES ..\.temp_to_pub\EasySpider_windows_x64\Code\undetected_chromedriver_ES /E /I /Y +xcopy ..\ExecuteStage\.vscode ..\.temp_to_pub\EasySpider_windows_x64\Code\.vscode /E /I /Y rmdir /s /q ..\.temp_to_pub\EasySpider_windows_x64\user_data rmdir /s /q ..\.temp_to_pub\EasySpider_windows_x64\execution_instances mkdir ..\.temp_to_pub\EasySpider_windows_x64\execution_instances diff --git a/ElectronJS/package_linux64.sh b/ElectronJS/package_linux64.sh index ebd0175..5af15d8 100755 --- a/ElectronJS/package_linux64.sh +++ b/ElectronJS/package_linux64.sh @@ -24,6 +24,7 @@ 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 ../ExecuteStage/undetected_chromedriver_ES ../.temp_to_pub/EasySpider_Linux_x64/Code +cp -Rf ../ExecuteStage/.vscode ../.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 diff --git a/ElectronJS/package_macos.sh b/ElectronJS/package_macos.sh index dad66ec..c8d807f 100755 --- a/ElectronJS/package_macos.sh +++ b/ElectronJS/package_macos.sh @@ -24,3 +24,4 @@ cp ../ExecuteStage/myChrome.py ../.temp_to_pub/EasySpider_MacOS_all_arch/Code cp ../ExecuteStage/utils.py ../.temp_to_pub/EasySpider_MacOS_all_arch/Code cp ../ExecuteStage/requirements.txt ../.temp_to_pub/EasySpider_MacOS_all_arch/Code cp -Rf ../ExecuteStage/undetected_chromedriver_ES ../.temp_to_pub/EasySpider_MacOS_all_arch/Code +cp -Rf ../ExecuteStage/.vscode ../.temp_to_pub/EasySpider_MacOS_all_arch/Code diff --git a/ElectronJS/src/taskGrid/FlowChart.html b/ElectronJS/src/taskGrid/FlowChart.html index 2e12e41..1364e55 100644 --- a/ElectronJS/src/taskGrid/FlowChart.html +++ b/ElectronJS/src/taskGrid/FlowChart.html @@ -21,6 +21,9 @@ +