Skip to content

linux 导出数据格式 MYsql数据库 #939

@1194668230

Description

@1194668230

我在linux环境下执行windows 生成的task mysql存储有问题
[root@adsl-172-10-0-127 EasySpider_Linux_x64]# ./EasySpider/resources/app/chrome_linux64/easyspider_executestage --ids [17] --docker_driver http://localhost:4444/wd/hub --user_data 0 --server_address http://localhost:8074 --config_folder "./" --headless 1 --read_type local --config_file_name config.json --saved_file_name
2025-10-11 16:13:40.197052794 [W:onnxruntime:Default, onnxruntime_pybind_state.cc:1983 CreateInferencePybindStateModule] Init provider bridge failed.

Configurations:
+------------------+------+------------------------------+
| Key | Type | Value |
+------------------+------+------------------------------+
| ids | list | [17] |
| saved_file_name | str | |
| user_data | bool | False |
| config_folder | str | ./ |
| config_file_name | str | config.json |
| read_type | str | local |
| headless | bool | True |
| server_address | str | http://localhost:8074 |
| keyboard | bool | True |
| pause_key | str | p |
| version | str | 0.6.3 |
| docker_driver | str | http://localhost:4444/wd/hub |
| user_folder | str | |
+------------------+------+------------------------------+

linux ('64bit', 'ELF')
Finding chromedriver in EasySpider /home/EasySpider/EasySpider_Linux_x64/EasySpider
Chrome location: EasySpider/resources/app/chrome_linux64/chrome
Chromedriver location: EasySpider/resources/app/chrome_linux64/chromedriver_linux64
Headless mode
无头模式
如果报错Selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally,说明有之前运行的Chrome实例没有正常关闭,请关闭之前打开的所有Chrome实例后再运行程序即可。
If you get an error Selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally, it means that there is a Chrome instance that was not closed properly before, please close all Chrome instances that were opened before running the program.
id: 17
local
Task Name: 领事保护新闻
任务名称: 领事保护新闻
文件下载路径|File Download path: /home/EasySpider/EasySpider_Linux_x64/Data/Task_17/files
Using remote driver
任务ID 17 的保存文件名为: alb_2025_10_11_16_13_41
Save Name for task ID 17 is: alb_2025_10_11_16_13_41
此模式下,任务ID 17 将从头开始执行,如果需要从上次退出的步骤开始执行,请在保存任务时设置是否从上次保存位置开始执行为“是”。
In this mode, task ID 17 will start from the beginning, if you want to start from the last step, please set the option 'start from the last step' to 'yes' when saving the task.
Loading stealth.min.js
Traceback (most recent call last):
File "easyspider_executestage.py", line 2440, in
File "easyspider_executestage.py", line 199, in init
KeyError: 'mysql_config_path'
[451592] Failed to execute script 'easyspider_executestage' due to unhandled exception!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions