This is a scraper that runs on Morph. To get started see the documentation

Contributors tmtmtmtm ondenman

Last run failed with status code 1.

Console output of last run

Injecting configuration and compiling... Injecting scraper and running... /app/lib/member_page.rb:31:in `split': invalid byte sequence in UTF-8 (ArgumentError) from /app/lib/member_page.rb:31:in `block in cells' from /app/lib/member_page.rb:31:in `map' from /app/lib/member_page.rb:31:in `cells' from /app/lib/member_page.rb:7:in `block in <class:MemberPage>' from /app/vendor/bundle/ruby/2.3.0/gems/field_serializer-0.3.0/lib/field_serializer.rb:26:in `block in to_h' from /app/vendor/bundle/ruby/2.3.0/gems/field_serializer-0.3.0/lib/field_serializer.rb:25:in `map' from /app/vendor/bundle/ruby/2.3.0/gems/field_serializer-0.3.0/lib/field_serializer.rb:25:in `to_h' from scraper.rb:38:in `block in scrape_list' from /app/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.8.0/lib/nokogiri/xml/node_set.rb:190:in `block in each' from /app/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.8.0/lib/nokogiri/xml/node_set.rb:189:in `upto' from /app/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.8.0/lib/nokogiri/xml/node_set.rb:189:in `each' from scraper.rb:26:in `scrape_list' from scraper.rb:49:in `<main>'

Data

Downloaded 997 times by everypolitician MikeRalphson chrismytton

To download data sign in with GitHub

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

rows 3 / 3

id name party_id party email term image source birth_date birth_place area commissions
9777
Adelina Rista
PS
Partia Socialist
adelina.rista@parlament.al
8
9616
Agron Çela
LSI
Levizja Socialiste per Integrim
agron.cela@parlament.al
8
9649
Agron Duka
PR
Partia Republikane
agron.duka@parlament.al
8
1958-01-22
Shijak
Grupi parlamentar: PRKomisioni parlamentar për Veprimtarinë Prodhuese, Tregtinë dhe Mjedisin, anëtar.

Statistics

Average successful run time: about 1 hour

Total run time: 3 months

Total cpu time used: about 16 hours

Total disk space used: 5.15 MB

History

  • Auto ran revision af4d2ddf and failed .
    nothing changed in the database
    5 pages scraped
  • Auto ran revision af4d2ddf and failed .
    2 records removed in the database
    5 pages scraped
  • Auto ran revision af4d2ddf and failed .
    2 records added in the database
    7 pages scraped
  • Auto ran revision af4d2ddf and failed .
    13 records removed in the database
    5 pages scraped
  • Auto ran revision af4d2ddf and failed .
    11 records added in the database
    20 pages scraped
  • ...
  • Created on morph.io

Show complete history

Scraper code

Ruby

albania-kuvendi / scraper.rb