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 1213 times by everypolitician SmartVMDev

To download data sign in with GitHub

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

rows 10 / 41

id name position_id position label start_date end_date ordinal
Q983402
Ranil Wickremesinghe
Q983402-C0628D22-86E8-4FCD-8BB0-ED721A6F28AD
Q16056497
Minister of Education
1980-02-14
1989
0
Q2506866
Tyronne Fernando
Q2506866-44b4fe39-45ec-f19c-3a90-8b006845d2c8
Q4294928
Minister of Foreign Affairs of Sri Lanka
2001
2004
0
Q983402
Ranil Wickremesinghe
Q983402-60e961e2-43d2-deea-58ab-96bb559b5b30
Q1758894
Prime Minister of Sri Lanka
2018-12-16
0
Q983402
Ranil Wickremesinghe
Q983402-38b08cbf-4980-ab57-d629-661c37bc5bb2
Q1758894
Prime Minister of Sri Lanka
1993-05-07
1994-08-18
0
Q17011652
Tilak Marapana
Q17011652-1dad48ca-48af-0dba-e827-6e88ee4ed7ec
Q16056689
Minister of Defence
2001-12-12
2003-11
0
Q983402
Ranil Wickremesinghe
Q983402-22b6a19e-41df-4536-a6a0-7a2570421098
Q1758894
Prime Minister of Sri Lanka
2001-12-09
2004-04-06
0
Q4647836
A. H. M. Fowzie
Q4647836-1308cec7-4418-fe8c-229c-736f660353ef
Q29057378
Minister of Transport
0
Q206638
Lakshman Kadirgamar
Q206638-0391EFB8-8985-4EA8-8D57-561015C16D34
Q4294928
Minister of Foreign Affairs of Sri Lanka
1994
2001
0
Q6443523
Kumara Welgama
Q6443523-b6b8ffda-4c98-8e0a-5835-962765bcc587
Q29057378
Minister of Transport
0
Q5512329
G. L. Peiris
Q5512329-d639d47c-4ea5-9558-c723-1d4134619e37
Q4294928
Minister of Foreign Affairs of Sri Lanka
2010-04-23
2015-01-12
0

Statistics

Average successful run time: half a minute

Total run time: about 18 hours

Total cpu time used: about 1 hour

Total disk space used: 94.6 KB

History

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

Show complete history

Scraper code

Ruby

sri-lanka-positions / scraper.rb