tmtmtmtm / lativa-saeima

Scrapes titania.saeima.lv

http://www.saeima.lv


Contributors tmtmtmtm

Last run completed successfully .

Console output of last run

Injecting configuration and compiling...  -----> Ruby app detected -----> Compiling Ruby -----> Using Ruby version: ruby-2.0.0 -----> Installing dependencies using bundler 1.15.2  Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment  Fetching gem metadata from https://rubygems.org/........  Fetching version metadata from https://rubygems.org/.  Fetching https://github.com/everypolitician/combine_popolo_memberships.git  Fetching https://github.com/openaustralia/scraperwiki-ruby.git  Rubygems 2.0.14.1 is not threadsafe, so your gems will be installed one at a time. Upgrade to Rubygems 2.1.0 or higher to enable parallel gem installation.  Fetching rake 10.4.2  Installing rake 10.4.2  Using bundler 1.15.2  Fetching coderay 1.1.0  Installing coderay 1.1.0  Fetching colorize 0.7.7  Installing colorize 0.7.7  Using combine_popolo_memberships 0.2.0 from https://github.com/everypolitician/combine_popolo_memberships.git (at master@0a18a0d)  Fetching httpclient 2.6.0.1  Installing httpclient 2.6.0.1  Fetching json 1.8.2  Installing json 1.8.2 with native extensions  Fetching json5 0.0.1  Installing json5 0.0.1  Fetching method_source 0.8.2  Installing method_source 0.8.2  Fetching mini_portile 0.6.2  Installing mini_portile 0.6.2  Fetching open-uri-cached 0.0.5  Installing open-uri-cached 0.0.5  Fetching slop 3.6.0  Installing slop 3.6.0  Fetching sqlite3 1.3.10  Installing sqlite3 1.3.10 with native extensions  Fetching nokogiri 1.6.6.2  Installing nokogiri 1.6.6.2 with native extensions  Fetching pry 0.10.1  Installing pry 0.10.1  Fetching sqlite_magic 0.0.5  Installing sqlite_magic 0.0.5  Using scraperwiki 3.0.1 from https://github.com/openaustralia/scraperwiki-ruby.git (at morph_defaults@fc50176)  Bundle complete! 9 Gemfile dependencies, 17 gems now installed.  Gems in the groups development and test were not installed.  Bundled gems are installed into ./vendor/bundle.  Bundle completed (20.17s)  Cleaning up the bundler cache. -----> Detecting rake tasks   -----> Discovering process types  Procfile declares types -> scraper Injecting scraper and running... No memberships in http://titania.saeima.lv/personal/deputati/saeima12_depweb_public.nsf/0/B5C4D383A40E011FC2257D7B0032D8D3?OpenDocument&lang=EN

Data

Downloaded 2343 times by everypolitician tmtmtmtm MikeRalphson martinsb

To download data sign in with GitHub

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

rows 10 / 568

id name photo email source given_name family_name start_date end_date party term
00AFCD693BFADCB8C2257D7B0032D8BD
Atis Lejiņš
Atis.Lejins@saeima.lv
Atis
Lejiņš
2014-11-04
Unity
12
624A90F85251E8B0C2257D7B0032D781
Mārtiņš Šics
Martins.Sics@saeima.lv
Mārtiņš
Šics
2014-11-04
Latvian Regional Alliance
12
4460384B6DEFF1E6C2257D7B0032D7A4
Mārtiņš Bondars
Martins.Bondars@saeima.lv
Mārtiņš
Bondars
2014-11-04
Latvian Regional Alliance
12
498CF455CA6CCE8CC2257D7B0032D7A3
Artuss Kaimiņš
Artuss.Kaimins@saeima.lv
Artuss
Kaimiņš
2014-11-04
2015-12-16
Latvian Regional Alliance
12
498CF455CA6CCE8CC2257D7B0032D7A3
Artuss Kaimiņš
Artuss.Kaimins@saeima.lv
Artuss
Kaimiņš
2015-12-16
Unaffiliated members of parliament
12
1A6B13C5EC34802EC2257D7B0032D7A8
Jānis Ruks
Janis.Ruks@saeima.lv
Jānis
Ruks
2014-11-04
Latvian Regional Alliance
12
00D558703F29FD2AC2257D7B0032D7C1
Juris Viļums
Juris.Vilums@saeima.lv
Juris
Viļums
2014-11-04
Latvian Regional Alliance
12
3760E326BDD2D921C2257D7B0032D7D3
Dainis Liepiņš
Dainis.Liepins@saeima.lv
Dainis
Liepiņš
2014-11-04
Latvian Regional Alliance
12
91F1046592FDA834C2257D7B0032D7E4
Nellija Kleinberga
Nellija.Kleinberga@saeima.lv
Nellija
Kleinberga
2014-11-04
Latvian Regional Alliance
12
12B6D57F344C49B7C2257D7B0032D7F4
Jānis Urbanovičs
Janis.Urbanovics@saeima.lv
Jānis
Urbanovičs
2014-11-04
Concord
12

Statistics

Average successful run time: 19 minutes

Total run time: 13 days

Total cpu time used: about 2 hours

Total disk space used: 440 KB

History

  • Auto ran revision b0fab616 and completed successfully .
    171 records added, 171 records removed in the database
    134 pages scraped
  • Auto ran revision b0fab616 and failed .
    nothing changed in the database
  • Auto ran revision b0fab616 and failed .
    nothing changed in the database
  • Auto ran revision b0fab616 and completed successfully .
    171 records added, 171 records removed in the database
    134 pages scraped
  • Auto ran revision b0fab616 and completed successfully .
    171 records added, 171 records removed in the database
    134 pages scraped
  • ...
  • Created on morph.io

Show complete history

Scraper code

Ruby

lativa-saeima / scraper.rb