Commit 1502c3de authored by Okhin's avatar Okhin

Fixing the path for spiders module

parent ae094563
Pipeline #1174 passed with stage
in 3 seconds
......@@ -4,21 +4,20 @@ import logging
import os
import sys
import scrapy
from scrapy.crawler import CrawlerProcess
from spiders.dossier import DossierSpider
from spiders.parl import ParlSpider
from spiders.scrutin import ScrutinSpider
from spiders.vote import VoteSpider
from francedata.spiders.dossier import DossierSpider
from francedata.spiders.parl import ParlSpider
from francedata.spiders.scrutin import ScrutinSpider
from francedata.spiders.vote import VoteSpider
logger = logging.getLogger('francedata')
commands = {
'parl': { 'class': ParlSpider, 'output': 'parlementaires.json' },
'dossiers': { 'class': DossierSpider, 'output': 'dossiers.json' },
'scrutins': { 'class': ScrutinSpider, 'output': 'scrutins.json' },
'votes': { 'class': VoteSpider, 'output': 'votes.json' },
'parl': {'class': ParlSpider, 'output': 'parlementaires.json'},
'dossiers': {'class': DossierSpider, 'output': 'dossiers.json'},
'scrutins': {'class': ScrutinSpider, 'output': 'scrutins.json'},
'votes': {'class': VoteSpider, 'output': 'votes.json'},
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment