【问题标题】:set the format of the scrapyd output file设置scrapyd输出文件的格式
【发布时间】:2020-11-10 17:02:45
【问题描述】:

我正在使用 scrapy 收集数据。使用 scrapyd 运行蜘蛛。带有结果的文件默认添加到

/data/scrapyd/items/ {spider_name }/ {job_id }.jl

job_id - 安装 scrapyd。请告诉我是否可以手动指定标题而不是job_id?

【问题讨论】:

    标签: python scrapy scrapyd


    【解决方案1】:

    curl http://localhost:6800/schedule.json -d project=project_name -d spider=spider_name -d jobid=custom_jobid

    【讨论】:

      猜你喜欢
      • 2013-08-14
      • 2015-02-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多