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