duncanparkes / madagascar

Fetch members of the Madagascan parliament

Scrapes www.assemblee-nationale.mg

Assemblée Nationale - Madagascar


This is a scraper that runs on Morph. To get started see the documentation

Contributors duncanparkes

Last run failed with status code 1.

Console output of last run

Injecting configuration and compiling... Injecting scraper and running... Traceback (most recent call last): File "scraper.py", line 16, in <module> lis = root.get_element_by_id('deputes').cssselect('li') File "/app/.heroku/python/lib/python2.7/site-packages/lxml/html/__init__.py", line 275, in get_element_by_id raise KeyError(id) KeyError: 'deputes'

Data

Downloaded 1069 times by everypolitician mhl tmtmtmtm

To download data sign in with GitHub

Download table (as CSV) Download SQLite database (121 KB) Use the API

rows 10 / 208

chamber region details_url name party image district executive term_id
National Assembly
Diana
AROSY Namiandrazana Fran‡ois
Ind‚pendant
Nosy Be
Député
2013
National Assembly
Sofia
DJAOSERA Iren‚e
PSD
Analalava
Notice: Undefined property: WP_Error::$name in /var/www/html/assemblee/wp-content/plugins/internet/tpl_deputes.php on line 53
2013
National Assembly
Sofia
LYLYETTE Ren‚ de Roland
Ind‚pendant
Befandriana Avaratra
Député
2013
National Assembly
Atsinanana
MAHARAMBY Ndalana Esp‚rant
MAPAR
Antanambao Manampotsy
Député
2013
National Assembly
Menabe
MAMOD?ALI Hawel
MAPAR
Morondava
Notice: Undefined property: WP_Error::$name in /var/www/html/assemblee/wp-content/plugins/internet/tpl_deputes.php on line 53
2013
National Assembly
Androy
MASY Goulamaly Marie Jeanne d?Arc
Ind‚pendant
Tsihombe
Pr‚sident de commission
2013
National Assembly
Boeny
NICOLAS St‚phan Alphonse
Ind‚pendant
Mahajanga I
Député
2013
National Assembly
Alaotra Mangoro
RABARISON Joseph Aim‚
MAPAR
Anosibe An?Ala
Député
2013
National Assembly
Itasy
RABEMANANJARA C‚lestine
MAPAR
Arivonimamo
Député
2013
National Assembly
Alaotra Mangoro
RABENIRINA Jean R‚n‚
M. RAVALOMANANA
Andilamena
Député
2013

To download data sign in with GitHub

Download table (as CSV) Download SQLite database (121 KB) Use the API

rows 1 / 1

name id start_date end_date
2013-1018
2013
2013-12-20
2018

Statistics

Average successful run time: 27 minutes

Total run time: 16 days

Total cpu time used: 24 minutes

Total disk space used: 144 KB

History

  • Auto ran revision 520d6833 and failed .
    nothing changed in the database
    1 page scraped
  • Auto ran revision 520d6833 and failed .
    nothing changed in the database
    1 page scraped
  • Auto ran revision 520d6833 and failed .
    nothing changed in the database
    1 page scraped
  • Auto ran revision 520d6833 and failed .
    nothing changed in the database
    23 pages scraped
  • Auto ran revision 520d6833 and failed .
    nothing changed in the database
    1 page scraped
  • ...
  • Created on morph.io

Show complete history

Scraper code

Python

madagascar / scraper.py