Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MacOS 10.x系统编译运行方式 #69

Closed
NaiboWang opened this issue Jun 1, 2023 · 0 comments
Closed

MacOS 10.x系统编译运行方式 #69

NaiboWang opened this issue Jun 1, 2023 · 0 comments

Comments

@NaiboWang
Copy link
Owner

NaiboWang commented Jun 1, 2023

对于MacOS 10.x系统,下载EasySpider后,设计任务时可正常使用,执行任务时需手动编译运行,方式为:

  1. 下载源代码:
    image
  2. 解压后,打开命令行,进入ExecuteStage文件夹,然后运行pip3 install -r requirements.txt命令:
cd Downloads/EasySpider-master/ExecuteStage
pip3 install -r requirements.txt
  1. 拷贝easyspider_executestage.py文件到之前下载好的EasySpider文件夹(带easyspider_executestage可执行文件的那个文件夹):

image

  1. 命令行进入此文件夹,然后将提示命令中的./easyspider_executestage替换成python3 easyspider_executestage.py 后面不变:
cd 你的EasySpider文件夹,如:cd /Users/你的用户名/Downloads/EasySpider_MacOS_all_arch
python3 easyspider_executestage.py --id '[3]' --user_data 0 --server_address http://localhost:8074 --config_folder "/Users/panbing/Library/Application Support/EasySpider/" --headless 0 --read_type remote --config_file_name config.json --saved_file_name 

即可执行任务。

Originally posted by @NaiboWang in #65 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant