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 1576 times by everypolitician

To download data sign in with GitHub

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

rows 10 / 36

id name position_id position label start_date end_date ordinal
Q441330
Jens Otto Krag
Q441330-065bb696-4dac-a851-e2f7-5645e4ea8a17
Q795477
Prime Minister of Denmark
1962-09-03
1968-02-02
0
Q757383
Atli Dam
Q757383-dfc698c3-406c-c018-6781-42d2d4083b64
Q21034786
Prime Minister of the Faroe Islands
1970-12-12
1981-01-05
0
Q503087
Hans Hedtoft
Q503087-3125e0ad-49e6-afb3-b9d5-8249fa606e2f
Q795477
Prime Minister of Denmark
1947-11-13
1950-10-30
0
Q3080572
Troels Lund Poulsen
Q3080572-37282573-45ef-4f89-ebe1-fd804a5eaba9
Q4115952
commerce minister
2015-06-28
2016-11-28
0
Q918287
Viggo Kampmann
Q918287-EAD7A767-5996-4E14-AB70-DB99B28BC735
Q795477
Prime Minister of Denmark
1960-02-21
1962-09-03
0
Q757383
Atli Dam
Q757383-022fd426-461c-57a6-e2a1-6282b2304ef0
Q21034786
Prime Minister of the Faroe Islands
1991-01-15
1993-02-18
0
Q264340
Klaus Berntsen
Q264340-63382609-1D1C-408A-992A-2DB7D1D17C0B
Q795477
Prime Minister of Denmark
1910-07-05
1913-06-21
0
Q367557
Thorvald Stauning
Q367557-303412B0-1CCD-4A00-8BCD-77FD076B6989
Q795477
Prime Minister of Denmark
1924-04-24
1926-12-14
9
Q664052
Vilhelm Buhl
Q664052-96FBD559-AAA5-4434-AB79-AF28A3AAE16E
Q795477
Prime Minister of Denmark
1942-05-04
1942-11-09
0
Q348901
Poul Hartling
Q348901-5864C2A5-ACB8-4342-B1F1-7134BAB05539
Q795477
Prime Minister of Denmark
1973-12-17
1975-02-13
0

Statistics

Average successful run time: 2 minutes

Total run time: 1 day

Total cpu time used: about 2 hours

Total disk space used: 116 KB

History

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

Show complete history

Scraper code

Ruby

denmark-positions / scraper.rb