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.4.4/lib/ruby/2.4.0/open-uri.rb:363:in `open_http': 403 Forbidden (OpenURI::HTTPError) from /app/vendor/ruby-2.4.4/lib/ruby/2.4.0/open-uri.rb:741:in `buffer_open' from /app/vendor/ruby-2.4.4/lib/ruby/2.4.0/open-uri.rb:212:in `block in open_loop' from /app/vendor/ruby-2.4.4/lib/ruby/2.4.0/open-uri.rb:210:in `catch' from /app/vendor/ruby-2.4.4/lib/ruby/2.4.0/open-uri.rb:210:in `open_loop' from /app/vendor/ruby-2.4.4/lib/ruby/2.4.0/open-uri.rb:151:in `open_uri' from /app/vendor/ruby-2.4.4/lib/ruby/2.4.0/open-uri.rb:721:in `open' from /app/vendor/ruby-2.4.4/lib/ruby/2.4.0/open-uri.rb:35:in `open' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/scraped-ecb23adeca95/lib/scraped/request/strategy/live_request.rb:10:in `response' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/scraped-ecb23adeca95/lib/scraped/request.rb:29:in `block in first_successful_response' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/scraped-ecb23adeca95/lib/scraped/request.rb:30:in `each' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/scraped-ecb23adeca95/lib/scraped/request.rb:30:in `each' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/scraped-ecb23adeca95/lib/scraped/request.rb:30:in `each' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/scraped-ecb23adeca95/lib/scraped/request.rb:30:in `each' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/scraped-ecb23adeca95/lib/scraped/request.rb:30:in `first' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/scraped-ecb23adeca95/lib/scraped/request.rb:30:in `first_successful_response' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/scraped-ecb23adeca95/lib/scraped/request.rb:13:in `response' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/scraped-ecb23adeca95/lib/scraped/scraper.rb:15:in `scraper' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/scraped-ecb23adeca95/lib/scraped/scraper.rb:8:in `store' from scraper.rb:8:in `<main>'

Data

Downloaded 1413 times by everypolitician

To download data sign in with GitHub

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

rows 10 / 206

id name position_id position label start_date end_date ordinal
Q53294
Arvid Lindman
Q53294-56b5cfe2-4bb5-5401-6ef0-80f25f35c5aa
Q687075
Prime Minister of Sweden
1928-10-02
1930-06-07
0
Q2130664
Lennart Geijer
Q2130664-3E9CADB9-1F39-4426-8568-6315BD97A752
Q3315958
Minister for Justice
0
Q53701
Axel Pehrsson-Bramstorp
Q53701-44512d23-4a20-22c6-a8a4-8e9be7931331
Q687075
Prime Minister of Sweden
1936-06-19
1936-09-28
0
Q5571210
Gustaf Berg
Q5571210-67B02D52-5F26-4F3E-8E9D-05A73F0C1339
Q3315958
Minister for Justice
0
Q53747
Göran Persson
Q53747-41020c38-42fa-eb44-2a5e-3d89977085af
Q687075
Prime Minister of Sweden
1996-03-22
2006-10-06
31
Q984112
Sten Tolgfors
Q984112-DD7F4CF2-CB89-40ED-9C9D-8D00C435C00C
Q920108
Minister for Defence
2007-09-05
2012-03-29
0
Q52922
Carl Bildt
Q52922-730DD1D5-755D-4424-B97E-DAF079F88F27
Q1749063
Minister for Foreign Affairs of Sweden
2006-10-06
2014-10-03
0
Q53713
Olof Palme
Q53713-08fed088-45d7-185d-6dd8-3bcbba53e7bd
Q687075
Prime Minister of Sweden
1982-10-08
1986-02-28
30
Q208591
Anna Lindh
Q208591-6407CB32-7ED4-4CE0-83FC-1CCCF685AE09
Q1749063
Minister for Foreign Affairs of Sweden
1998-10-07
2003-09-11
0
Q53305
Carl Swartz
Q53305-3d843009-43c5-73b6-4328-c10c769f6474
Q687075
Prime Minister of Sweden
1917-03-30
1917-10-19
0

Statistics

Average successful run time: 3 minutes

Total run time: 1 day

Total cpu time used: about 3 hours

Total disk space used: 237 KB

History

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

Show complete history

Scraper code

Ruby

sweden-positions / scraper.rb