Git Product home page Git Product logo

Comments (8)

NaiboWang avatar NaiboWang commented on May 7, 2024 1

已经可以复现你的问题,请先下载V0.2.0版本的EasySpider使用,我这边今天尝试修复此Bug,修复后会回复。

from easyspider.

NaiboWang avatar NaiboWang commented on May 7, 2024

是直接下载的可执行程序,在执行./easyspider_executestage的时候报的错吗?还是下载的源代码然后运行的?

from easyspider.

niaiwomattt avatar niaiwomattt commented on May 7, 2024

是直接下载的可执行程序,在执行./easyspider_executestage的时候报的错吗?还是下载的源代码然后运行的?

对,直接下载 release 里的 mac 程序,按照文档设计了一个采集,然后点击【本地直接执行】,然后 cd 到解压的目录,执行代码就报错了。

from easyspider.

NaiboWang avatar NaiboWang commented on May 7, 2024

能不能给个文件夹和命令行的截图,我这边复现不了。

from easyspider.

niaiwomattt avatar niaiwomattt commented on May 7, 2024
image
cd 你的EasySpider文件夹,如:cd /Users/你的用户名/Downloads/EasySpider_MacOS_all_arch
./easyspider_executestage --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 

路径中没有中文

from easyspider.

NaiboWang avatar NaiboWang commented on May 7, 2024

命令行执行的截图也发一下

from easyspider.

niaiwomattt avatar niaiwomattt commented on May 7, 2024
image

from easyspider.

NaiboWang avatar NaiboWang commented on May 7, 2024

你这个操作系统版本太低了,所以那个程序有些兼容性问题不能直接用,但是有办法编译运行,方式为:

  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 

即可执行任务。

from easyspider.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.