tmtmtmtm / mauritania-assembly

Members of the National Assembly of Mauritania


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

Contributors tmtmtmtm

Last run failed with status code 1.

Console output of last run

Injecting configuration and compiling... Injecting scraper and running... /app/vendor/ruby-2.3.3/lib/ruby/2.3.0/net/http.rb:882:in `rescue in block in connect': Failed to open TCP connection to www.assembleenationale.mr:80 (getaddrinfo: Name or service not known) (SocketError) from /app/vendor/ruby-2.3.3/lib/ruby/2.3.0/net/http.rb:879:in `block in connect' from /app/vendor/ruby-2.3.3/lib/ruby/2.3.0/timeout.rb:91:in `block in timeout' from /app/vendor/ruby-2.3.3/lib/ruby/2.3.0/timeout.rb:101:in `timeout' from /app/vendor/ruby-2.3.3/lib/ruby/2.3.0/net/http.rb:878:in `connect' from /app/vendor/ruby-2.3.3/lib/ruby/2.3.0/net/http.rb:863:in `do_start' from /app/vendor/ruby-2.3.3/lib/ruby/2.3.0/net/http.rb:852:in `start' from /app/vendor/ruby-2.3.3/lib/ruby/2.3.0/open-uri.rb:319:in `open_http' from /app/vendor/ruby-2.3.3/lib/ruby/2.3.0/open-uri.rb:737:in `buffer_open' from /app/vendor/ruby-2.3.3/lib/ruby/2.3.0/open-uri.rb:212:in `block in open_loop' from /app/vendor/ruby-2.3.3/lib/ruby/2.3.0/open-uri.rb:210:in `catch' from /app/vendor/ruby-2.3.3/lib/ruby/2.3.0/open-uri.rb:210:in `open_loop' from /app/vendor/ruby-2.3.3/lib/ruby/2.3.0/open-uri.rb:151:in `open_uri' from /app/vendor/bundle/ruby/2.3.0/gems/open-uri-cached-0.0.5/lib/open-uri/cached.rb:10:in `open_uri' from /app/vendor/ruby-2.3.3/lib/ruby/2.3.0/open-uri.rb:717:in `open' from /app/vendor/ruby-2.3.3/lib/ruby/2.3.0/open-uri.rb:35:in `open' from /app/vendor/bundle/ruby/2.3.0/bundler/gems/scraped-23a9620a8b0c/lib/scraped/request/strategy/live_request.rb:10:in `response' from /app/vendor/bundle/ruby/2.3.0/bundler/gems/scraped-23a9620a8b0c/lib/scraped/request.rb:29:in `block in first_successful_response' from /app/vendor/bundle/ruby/2.3.0/bundler/gems/scraped-23a9620a8b0c/lib/scraped/request.rb:30:in `each' from /app/vendor/bundle/ruby/2.3.0/bundler/gems/scraped-23a9620a8b0c/lib/scraped/request.rb:30:in `each' from /app/vendor/bundle/ruby/2.3.0/bundler/gems/scraped-23a9620a8b0c/lib/scraped/request.rb:30:in `each' from /app/vendor/bundle/ruby/2.3.0/bundler/gems/scraped-23a9620a8b0c/lib/scraped/request.rb:30:in `each' from /app/vendor/bundle/ruby/2.3.0/bundler/gems/scraped-23a9620a8b0c/lib/scraped/request.rb:30:in `each' from /app/vendor/bundle/ruby/2.3.0/bundler/gems/scraped-23a9620a8b0c/lib/scraped/request.rb:30:in `each' from /app/vendor/bundle/ruby/2.3.0/bundler/gems/scraped-23a9620a8b0c/lib/scraped/request.rb:30:in `first' from /app/vendor/bundle/ruby/2.3.0/bundler/gems/scraped-23a9620a8b0c/lib/scraped/request.rb:30:in `first_successful_response' from /app/vendor/bundle/ruby/2.3.0/bundler/gems/scraped-23a9620a8b0c/lib/scraped/request.rb:13:in `response' from scraper.rb:55:in `scraper' from scraper.rb:59:in `<main>'

Data

Downloaded 820 times by everypolitician MikeRalphson

To download data sign in with GitHub

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

rows 1 / 1

id name start_date
12
12th National Assembly
2013-12-21

Statistics

Average successful run time: half a minute

Total run time: 3 days

Total cpu time used: 11 minutes

Total disk space used: 74.9 KB

History

  • Auto ran revision 442e99f0 and failed .
    nothing changed in the database
  • Auto ran revision 442e99f0 and failed .
    nothing changed in the database
  • Auto ran revision 442e99f0 and failed .
    nothing changed in the database
  • Auto ran revision 442e99f0 and failed .
    nothing changed in the database
  • Auto ran revision 442e99f0 and failed .
    nothing changed in the database
  • ...
  • Created on morph.io

Show complete history

Scraper code

Ruby

mauritania-assembly / scraper.rb