mirror of
https://github.com/NaiboWang/EasySpider.git
synced 2025-04-16 16:26:56 +08:00
MacOS Arm Version
This commit is contained in:
parent
1982cb3c63
commit
498c3bda29
2
.temp_to_pub/.gitignore
vendored
2
.temp_to_pub/.gitignore
vendored
@ -1,4 +1,4 @@
|
||||
EasySpider_MacOS_all_arch/easyspider_executestage
|
||||
EasySpider_MacOS/easyspider_executestage
|
||||
EasySpider_Linux64_x64/user_data
|
||||
EasySpider_windows_x32/user_data
|
||||
EasySpider
|
||||
|
@ -0,0 +1,25 @@
|
||||
Due to the complex security settings of MacOS, the issue of being unable to open software due to the "unverified developer" message may occur upon the first attempt to open the software. Please refer to the following GitHub document to see how to open software and perform tasks on your MacOS version:
|
||||
|
||||
https://github.com/NaiboWang/EasySpider/wiki/MacOS-Guide
|
||||
|
||||
For the Arm version, if it shows "the package is damaged", you need to use the following command to modify the package attributes:
|
||||
|
||||
xattr -cr Your EasySpider.app file path
|
||||
|
||||
For example:
|
||||
|
||||
xattr -cr /Users/your_username/Downloads/EasySpider_MacOS/EasySpider.app
|
||||
|
||||
Then try to open it again.
|
||||
|
||||
When executing the xattr command, if an error like the one below occurs, you can ignore it. After the execution is finished, you can open the software:
|
||||
|
||||
xattr: [Errno 13] Permission denied: 'EasySpider.app/Contents/Resources/app/node_modules/node-window-manager/build/node_gyp_bins/python3'
|
||||
|
||||
File access permissions must be granted, but microphone permissions are not needed at all. The author is also unclear why microphone access would be requested, so it can be refused.
|
||||
|
||||
During the execution of tasks, if an error similar to the one below occurs, it can also be ignored:
|
||||
|
||||
Traceback (most recent call last):
|
||||
File "multiprocessing/resource_tracker.py", line 209, in main
|
||||
KeyError: '/mp-5dxyey7c'
|
1
.temp_to_pub/EasySpider_MacOS/Sample Tasks/1000.json
Normal file
1
.temp_to_pub/EasySpider_MacOS/Sample Tasks/1000.json
Normal file
File diff suppressed because one or more lines are too long
1236
.temp_to_pub/EasySpider_MacOS/Sample Tasks/115.json
Normal file
1236
.temp_to_pub/EasySpider_MacOS/Sample Tasks/115.json
Normal file
File diff suppressed because it is too large
Load Diff
1
.temp_to_pub/EasySpider_MacOS/Sample Tasks/149.json
Normal file
1
.temp_to_pub/EasySpider_MacOS/Sample Tasks/149.json
Normal file
@ -0,0 +1 @@
|
||||
{"id":149,"name":"京东全球版-专业的综合网上购物商城","url":"https://www.jd.com","links":"https://www.jd.com","create_time":"7/7/2023, 6:36:49 AM","update_time":"12/20/2023, 4:03:13 AM","version":"0.6.0","saveThreshold":10,"quitWaitTime":60,"environment":0,"maximizeWindow":0,"maxViewLength":15,"recordLog":1,"outputFormat":"mysql","saveName":"京东","dataWriteMode":1,"inputExcel":"","startFromExit":0,"pauseKey":"p","containJudge":false,"browser":"chrome","removeDuplicate":1,"desc":"https://www.jd.com","inputParameters":[{"id":0,"name":"urlList_0","nodeId":1,"nodeName":"打开网页","value":"https://www.jd.com","desc":"List of URLs to be collected, separated by \\n for multiple lines","type":"text","exampleValue":"https://www.jd.com"}],"outputParameters":[{"id":0,"name":"参数1_链接文本","desc":"","type":"text","exampleValue":"手机"},{"id":1,"name":"参数2_链接地址","desc":"","type":"text","exampleValue":"https://shouji.jd.com/"}],"graph":[{"index":0,"id":0,"parentId":0,"type":-1,"option":0,"title":"root","sequence":[1,2],"parameters":{"history":1,"tabIndex":0,"useLoop":false,"xpath":"","wait":0},"isInLoop":false},{"id":1,"index":1,"parentId":0,"type":0,"option":1,"title":"打开网页","sequence":[],"isInLoop":false,"position":0,"parameters":{"useLoop":false,"xpath":"","wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"url":"https://www.jd.com","links":"https://www.jd.com","maxWaitTime":10,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"cookies":""}},{"id":2,"index":2,"parentId":0,"type":1,"option":8,"title":"循环","sequence":[3],"isInLoop":false,"position":1,"parameters":{"history":4,"tabIndex":-1,"useLoop":false,"xpath":"/html/body/div[5]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div/a","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"scrollType":0,"scrollCount":1,"scrollWaitTime":1,"loopType":1,"pathList":"","textList":"","code":"","waitTime":0,"exitCount":0,"historyWait":2,"breakMode":0,"breakCode":"","breakCodeWaitTime":0,"allXPaths":["/html/body/div[5]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/a[1]","//a[contains(., '手机')]","/html/body/div[last()-5]/div/div[last()-4]/div/div[last()-2]/div/div/div/div[last()-1]/div[last()-12]/a[last()-1]"]}},{"id":3,"index":3,"parentId":2,"type":0,"option":3,"title":"提取数据","sequence":[],"isInLoop":true,"position":0,"parameters":{"history":4,"tabIndex":-1,"useLoop":false,"xpath":"","iframe":false,"wait":0,"waitType":0,"beforeJS":"","beforeJSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"params":[{"nodeType":1,"contentType":0,"relative":true,"name":"参数1_链接文本","desc":"","extractType":0,"relativeXPath":"","allXPaths":"","exampleValues":[{"num":0,"value":"手机"}],"unique_index":"6h61epq3t9sljrq1vbg","iframe":false,"default":"","paraType":"text","beforeJS":"arguments[0].innerText = \"'\" + arguments[0].innerText + '\"'","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0},{"nodeType":2,"contentType":0,"relative":true,"name":"参数2_链接地址","desc":"","relativeXPath":"","allXPaths":"","exampleValues":[{"num":0,"value":"https://shouji.jd.com/"}],"unique_index":"6h61epq3t9sljrq1vbg","iframe":false,"default":"","paraType":"text","beforeJS":"","beforeJSWaitTime":0,"JS":"","JSWaitTime":0,"afterJS":"","afterJSWaitTime":0,"downloadPic":0}],"loopType":1}}]}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user