Hi,
I' ve got 2 situations to solve.
Seems that everything is ok:
(SCREEN)marco@pc:~/crawlscrape/sole24ore$ scrapyd-deploy sole24ore -p sole24ore
Packing version 1421755479
Server response (200):
{"status": "ok", "project": "sole24ore", "version": "1421755479", "spiders": 1}
marco@pc:/var/lib/scrapyd/dbs$ ls -lah
totale 12K
drwxr-xr-x 2 scrapy nogroup 4,0K gen 20 13:04 .
drwxr-xr-x 5 scrapy nogroup 4,0K gen 20 06:55 ..
-rw-r--r-- 1 root root 2,0K gen 20 13:04 sole24ore.db
marco@pc:/var/lib/scrapyd/eggs/sole24ore$ ls -lah
totale 16K
drwxr-xr-x 2 scrapy nogroup 4,0K gen 20 13:04 .
drwxr-xr-x 3 scrapy nogroup 4,0K gen 20 12:47 ..
-rw-r--r-- 1 scrapy nogroup 5,5K gen 20 13:04 1421755479.egg
, but nothing is executed
marco@pc:/var/lib/scrapyd/items/sole24ore/sole$ ls -a
. ..
[detached from 2515.pts-4.pc]
{"status": "ok", "running": [], "finished": [], "pending": []}
The second aspect regards how to save the output into a json file.
What is the correct form to put into settings.py?
ile Edit Options Buffers Tools Python Help
# Scrapy settings for sole24ore project
#
# For simplicity, this file contains only the most important settings by
# default. All the other settings are documented here:
#
#
BOT_NAME = 'sole24ore'
SPIDER_MODULES = ['sole24ore.spiders']
NEWSPIDER_MODULE = 'sole24ore.spiders'
FEED_URI=file://home/marco/crawlscrape/sole24ore/output.json --set FEED_FORMAT=json
SCREEN)marco@pc:~/crawlscrape/sole24ore$ scrapyd-deploy sole24ore -p sole24ore
Packing version 1421756389
Server response (200):
{"status": "error", "message": "SyntaxError: invalid syntax"}
# Crawl responsibly by identifying yourself (and your website) on the user-agent
Looking forward to your kind help.
Kind regards.
Marco