ausmpcontact_details

A Morph scraper that grabs MP's details from APH.gov.au.

Contributors henare archoo

Last run failed with status code 1.

Console output of last run

Injecting configuration and compiling... Injecting scraper and running... /app/vendor/ruby-1.9.3/lib/ruby/1.9.1/openssl/ssl-internal.rb:170:in `post_connection_check': hostname does not match the server certificate (OpenSSL::SSL::SSLError) from /app/vendor/bundle/ruby/1.9.1/gems/net-http-persistent-2.5.2/lib/net/http/persistent/ssl_reuse.rb:72:in `connect' from /app/vendor/ruby-1.9.3/lib/ruby/1.9.1/net/http.rb:756:in `do_start' from /app/vendor/ruby-1.9.3/lib/ruby/1.9.1/net/http.rb:751:in `start' from /app/vendor/bundle/ruby/1.9.1/gems/net-http-persistent-2.5.2/lib/net/http/persistent.rb:750:in `reset' from /app/vendor/bundle/ruby/1.9.1/gems/net-http-persistent-2.5.2/lib/net/http/persistent.rb:824:in `rescue in request' from /app/vendor/bundle/ruby/1.9.1/gems/net-http-persistent-2.5.2/lib/net/http/persistent.rb:830:in `request' from /app/vendor/bundle/ruby/1.9.1/gems/mechanize-2.5.1/lib/mechanize/http/agent.rb:258:in `fetch' from /app/vendor/bundle/ruby/1.9.1/gems/mechanize-2.5.1/lib/mechanize/http/agent.rb:949:in `response_redirect' from /app/vendor/bundle/ruby/1.9.1/gems/mechanize-2.5.1/lib/mechanize/http/agent.rb:299:in `fetch' from /app/vendor/bundle/ruby/1.9.1/gems/mechanize-2.5.1/lib/mechanize.rb:407:in `get' from scraper.rb:51:in `<main>'

Data

Downloaded 8297 times by openaustralia everypolitician anupam82 ianheggie-oaf tmtmtmtm ondenman mlandauer davewhiteland jamezpolley chrismytton otherchirps technicallynotdeaf henare archoo m-mac BestyAU lukekfreeman cofiem tp12121212 paullenz Tombstoned88 dotnetnoobie maxious

To download data sign in with GitHub

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

rows 10 / 331

house aph_id full_name electorate party profile_page contact_page photo_url email facebook twitter website
senate
2L6
Senator Mark Bishop
Western Australia
Australian Labor Party
senator.bishop@aph.gov.au
senate
YE4
Senator the Hon Ronald Boswell
Queensland
The Nationals
senator.boswell@aph.gov.au
senate
H6V
Senator Sue Boyce
Queensland
Liberal Party of Australia
senate
4L6
Senator Alan Eggleston
Western Australia
Liberal Party of Australia
senator.eggleston@aph.gov.au
senate
I0P
Senator Mark Furner
Queensland
Australian Labor Party
senate
7L6
Senator the Hon John Hogg
Queensland
Australian Labor Party
senator.hogg@aph.gov.au
senate
G1N
Senator Helen Kroger
Victoria
Liberal Party of Australia
senate
00AOS
Senator the Hon Ursula Stephens
New South Wales
Australian Labor Party
senator.stephens@aph.gov.au
senate
183342
Senator the Hon Lin Thorp
Tasmania
Australian Labor Party
senator.thorp@aph.gov.au
senate
249499
Senator Mehmet Tillem
Victoria
Australian Labor Party

Statistics

Average successful run time: 5 minutes

Total run time: 6 days

Total cpu time used: about 3 hours

Total disk space used: 211 KB

History

  • Auto ran revision 38f22655 and failed .
    nothing changed in the database
  • Auto ran revision 38f22655 and failed .
    12 records added, 12 records removed in the database
  • Auto ran revision 38f22655 and failed .
    12 records added, 12 records removed in the database
  • Auto ran revision 38f22655 and failed .
    12 records added, 12 records removed in the database
  • Auto ran revision 38f22655 and failed .
    12 records added, 12 records removed in the database
  • ...
  • Created on morph.io

Show complete history

Scraper code

Ruby

aus_mp_contact_details / scraper.rb