Commit 3ae6a9d7 authored by Nicolas Joyard's avatar Nicolas Joyard

Use official rep url as remote ID

parent ee751adf
...@@ -74,7 +74,7 @@ def _get_rep_comittees(json): ...@@ -74,7 +74,7 @@ def _get_rep_comittees(json):
FranceDataVariants = { FranceDataVariants = {
"AN": { "AN": {
"chamber": u"Assemblée nationale", "chamber": u"Assemblée nationale",
"remote_id_field": "id_an", "remote_id_field": "url_an",
"mail_domain": "@assemblee-nationale.fr", "mail_domain": "@assemblee-nationale.fr",
"off_city": "Paris", "off_city": "Paris",
"off_street": u"Rue de l'Université", "off_street": u"Rue de l'Université",
...@@ -125,7 +125,7 @@ FranceDataVariants = { ...@@ -125,7 +125,7 @@ FranceDataVariants = {
"SEN": { "SEN": {
"chamber": u"Sénat", "chamber": u"Sénat",
"remote_id_field": "id_institution", "remote_id_field": "url_institution",
"mail_domain": "@senat.fr", "mail_domain": "@senat.fr",
"off_city": "Paris", "off_city": "Paris",
"off_street": u"Rue de Vaugirard", "off_street": u"Rue de Vaugirard",
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
"fields": { "fields": {
"photo": "http://www.nosdeputes.fr/depute/photo/bernard-roman", "photo": "http://www.nosdeputes.fr/depute/photo/bernard-roman",
"gender": 2, "gender": 2,
"remote_id": "2611", "remote_id": "http://www2.assemblee-nationale.fr/deputes/fiche/OMC_PA2611",
"active": true, "active": true,
"birth_place": "Lille (Nord)", "birth_place": "Lille (Nord)",
"full_name": "Bernard Roman", "full_name": "Bernard Roman",
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
"fields": { "fields": {
"photo": "http://www.nossenateurs.fr/senateur/photo/david-assouline", "photo": "http://www.nossenateurs.fr/senateur/photo/david-assouline",
"gender": 2, "gender": 2,
"remote_id": "assouline_david04059m", "remote_id": "http://www.senat.fr/senateur/assouline_david04059m.html",
"active": true, "active": true,
"birth_place": "non disponible", "birth_place": "non disponible",
"full_name": "David Assouline", "full_name": "David Assouline",
......
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