Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
FranceData
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Political Memory
FranceData
Commits
1502c3de
Commit
1502c3de
authored
Jul 13, 2017
by
Okhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing the path for spiders module
parent
ae094563
Pipeline
#1174
passed with stage
in 3 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
9 deletions
+8
-9
francedata/updater.py
francedata/updater.py
+8
-9
No files found.
francedata/updater.py
View file @
1502c3de
...
...
@@ -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'
},
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment