tmtmtmtm / togo-national-assembly

Scrapes github.com

Build software better, together.


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.assemblee-nationale.tg: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/bundle/ruby/2.3.0/gems/webmock-2.0.3/lib/webmock/http_lib_adapters/net_http.rb:136:in `start_with_connect_without_finish' from /app/vendor/bundle/ruby/2.3.0/gems/webmock-2.0.3/lib/webmock/http_lib_adapters/net_http.rb:104:in `request' from /app/vendor/ruby-2.3.3/lib/ruby/2.3.0/open-uri.rb:325:in `block in open_http' from /app/vendor/bundle/ruby/2.3.0/gems/webmock-2.0.3/lib/webmock/http_lib_adapters/net_http.rb:123:in `start_without_connect' from /app/vendor/bundle/ruby/2.3.0/gems/webmock-2.0.3/lib/webmock/http_lib_adapters/net_http.rb:150: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/bundler/gems/scraped_page_archive-3b67c315ddab/lib/scraped_page_archive/open-uri.rb:9:in `block in open_uri' from /app/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block' from /app/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr.rb:189:in `use_cassette' from /app/vendor/bundle/ruby/2.3.0/bundler/gems/scraped_page_archive-3b67c315ddab/lib/scraped_page_archive.rb:36:in `record' from /app/vendor/bundle/ruby/2.3.0/bundler/gems/scraped_page_archive-3b67c315ddab/lib/scraped_page_archive/open-uri.rb:9: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 scraper.rb:15:in `noko_for' from scraper.rb:31:in `scrape_list' from scraper.rb:51:in `<main>'

Data

Downloaded 1663 times by everypolitician

To download data sign in with GitHub

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

rows 1 / 1

id name start_date
2013
2013–
2013

To download data sign in with GitHub

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

rows 10 / 182

name honorific_prefix sort_name party area gender term
M. ABIGUIME Petik-Abalo
M
ABIGUIME Petik-Abalo
UNIR
BINAH
male
2013
M. ABOLU Yawo Afelete
M
ABOLU Yawo Afelete
UNIR
AVE
male
2013
Mme. ADJAMAGBO Ayélo Okpé
Mme
ADJAMAGBO Ayélo Okpé
UNIR
OGOU-ANIE
female
2013
M. ADJOR Akofi
M
ADJOR Akofi
ANC
AVE
male
2013
M. AFO ALEDJOU Mawé
M
AFO ALEDJOU Mawé
UNIR
TCHAMBA
male
2013
M. AGBO Kokou
M
AGBO Kokou
ARC-EN-CIEL
YOTO
male
2013
M. AGBO KOMLAN
M
AGBO KOMLAN
UNIR
EST-MONO
male
2013
Mme. AGBOKOU Kossiwa M. F.
Mme
AGBOKOU Kossiwa M. F.
ANC
GRAND LOME
female
2013
M. ALONOU Kokou
M
ALONOU Kokou
UNIR
BLITTA
male
2013
Mme AMEDJOGBE Akossiwa Olivia
Mme
AMEDJOGBE Akossiwa Olivia
UNIR
GRAND LOME
female
2013

Statistics

Average successful run time: less than a minute

Total run time: about 10 hours

Total cpu time used: 18 minutes

Total disk space used: 1.8 MB

History

  • Auto ran revision 5dcfd34d and failed .
    nothing changed in the database
    2 pages scraped
  • Auto ran revision 5dcfd34d and failed .
    nothing changed in the database
    2 pages scraped
  • Auto ran revision 5dcfd34d and failed .
    nothing changed in the database
    2 pages scraped
  • Auto ran revision 5dcfd34d and failed .
    nothing changed in the database
  • Auto ran revision 5dcfd34d and failed .
    nothing changed in the database
    2 pages scraped
  • ...
  • Created on morph.io

Show complete history

Scraper code

Ruby

togo-national-assembly / scraper.rb