Contributors tmtmtmtm

Last run failed with status code 1.

Console output of last run

Injecting configuration and compiling...  -----> Ruby app detected -----> Compiling Ruby -----> Using Ruby version: ruby-2.3.3 -----> 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 dependency metadata from https://rubygems.org/.  Fetching https://github.com/everypolitician/everypolitician-ruby.git  Fetching https://github.com/openaustralia/scraperwiki-ruby.git  Fetching https://github.com/everypolitician/wikidata-area.git  Fetching https://github.com/everypolitician/wikisnakker.git  Fetching https://github.com/everypolitician/wikidata-fetcher.git  Fetching rake 12.0.0  Fetching ast 2.3.0  Using bundler 1.15.2  Fetching coderay 1.1.1  Installing ast 2.3.0  Installing rake 12.0.0  Fetching colorize 0.8.1  Installing coderay 1.1.1  Installing colorize 0.8.1  Fetching diskcached 1.1.2  Fetching unf_ext 0.0.7.2  Fetching require_all 1.4.0  Installing require_all 1.4.0  Fetching excon 0.54.0  Installing diskcached 1.1.2  Installing unf_ext 0.0.7.2 with native extensions  Fetching multipart-post 2.0.0  Installing multipart-post 2.0.0  Installing excon 0.54.0  Fetching hashie 3.4.6  Installing hashie 3.4.6  Fetching httpclient 2.8.3  Fetching json 2.0.3  Installing httpclient 2.8.3  Installing json 2.0.3 with native extensions  Fetching method_source 0.8.2  Installing method_source 0.8.2  Fetching mime-types-data 3.2016.0521  Installing mime-types-data 3.2016.0521  Fetching mini_portile2 2.1.0  Installing mini_portile2 2.1.0  Fetching netrc 0.11.0  Installing netrc 0.11.0  Fetching powerpack 0.1.1  Installing powerpack 0.1.1  Fetching slop 3.6.0  Installing slop 3.6.0  Fetching rainbow 2.2.1  Installing rainbow 2.2.1 with native extensions  Fetching ruby-progressbar 1.8.1  Installing ruby-progressbar 1.8.1  Fetching unicode-display_width 1.1.3  Installing unicode-display_width 1.1.3  Fetching sqlite3 1.3.13  Installing sqlite3 1.3.13 with native extensions  Using wikidata-area 0.1.0 from https://github.com/everypolitician/wikidata-area.git (at master@7afc67f)  Fetching yajl-ruby 1.3.0  Installing yajl-ruby 1.3.0 with native extensions  Fetching parser 2.3.3.1  Installing parser 2.3.3.1  Fetching everypolitician-popolo 0.8.0  Installing everypolitician-popolo 0.8.0  Fetching faraday 0.11.0  Installing faraday 0.11.0  Fetching mime-types 3.1  Installing mime-types 3.1  Fetching nokogiri 1.7.0.1  Installing nokogiri 1.7.0.1 with native extensions  Fetching pry 0.10.4  Installing pry 0.10.4  Fetching unf 0.1.4  Installing unf 0.1.4  Fetching sqlite_magic 0.0.6  Installing sqlite_magic 0.0.6  Fetching rubocop 0.47.1  Using everypolitician 0.20.0 from https://github.com/everypolitician/everypolitician-ruby.git (at master@20582b1)  Installing rubocop 0.47.1  Fetching faraday_middleware 0.11.0.1  Installing faraday_middleware 0.11.0.1  Using wikisnakker 0.8.0 from https://github.com/everypolitician/wikisnakker.git (at master@07b47d9)  Using scraperwiki 3.0.1 from https://github.com/openaustralia/scraperwiki-ruby.git (at morph_defaults@fc50176)  Fetching domain_name 0.5.20161129  Fetching wikidata-client 0.0.10  Installing domain_name 0.5.20161129  Fetching http-cookie 1.0.3  Installing http-cookie 1.0.3  Fetching faraday-cookie_jar 0.0.6  Fetching rest-client 2.0.0  Installing faraday-cookie_jar 0.0.6  Fetching mediawiki_api 0.7.0  Installing rest-client 2.0.0  Installing wikidata-client 0.0.10  Installing mediawiki_api 0.7.0  Using wikidata-fetcher 0.19.1 from https://github.com/everypolitician/wikidata-fetcher.git (at master@0e20c91)  Bundle complete! 8 Gemfile dependencies, 45 gems now installed.  Gems in the groups development and test were not installed.  Bundled gems are installed into ./vendor/bundle.  Bundle completed (36.05s)  Cleaning up the bundler cache. -----> Detecting rake tasks   -----> Discovering process types  Procfile declares types -> scraper Injecting scraper and running... /app/vendor/ruby-2.3.3/lib/ruby/2.3.0/open-uri.rb:359:in `open_http': 504 Connection Timed Out (OpenURI::HTTPError) from /app/vendor/ruby-2.3.3/lib/ruby/2.3.0/open-uri.rb:737:in `buffer_open' from /app/vendor/ruby-2.3.3/lib/ruby/2.3.0/open-uri.rb:212:in `block in open_loop' from /app/vendor/ruby-2.3.3/lib/ruby/2.3.0/open-uri.rb:210:in `catch' from /app/vendor/ruby-2.3.3/lib/ruby/2.3.0/open-uri.rb:210:in `open_loop' from /app/vendor/ruby-2.3.3/lib/ruby/2.3.0/open-uri.rb:151:in `open_uri' from /app/vendor/ruby-2.3.3/lib/ruby/2.3.0/open-uri.rb:717:in `open' from /app/vendor/ruby-2.3.3/lib/ruby/2.3.0/open-uri.rb:35:in `open' from /app/vendor/bundle/ruby/2.3.0/bundler/gems/wikisnakker-07b47d9a96a4/lib/wikisnakker.rb:53:in `get' from /app/vendor/bundle/ruby/2.3.0/bundler/gems/wikisnakker-07b47d9a96a4/lib/wikisnakker.rb:21:in `block in initialize' from /app/vendor/bundle/ruby/2.3.0/bundler/gems/wikisnakker-07b47d9a96a4/lib/wikisnakker.rb:20:in `each' from /app/vendor/bundle/ruby/2.3.0/bundler/gems/wikisnakker-07b47d9a96a4/lib/wikisnakker.rb:20:in `each_slice' from /app/vendor/bundle/ruby/2.3.0/bundler/gems/wikisnakker-07b47d9a96a4/lib/wikisnakker.rb:20:in `each' from /app/vendor/bundle/ruby/2.3.0/bundler/gems/wikisnakker-07b47d9a96a4/lib/wikisnakker.rb:20:in `map' from /app/vendor/bundle/ruby/2.3.0/bundler/gems/wikisnakker-07b47d9a96a4/lib/wikisnakker.rb:20:in `initialize' from /app/vendor/bundle/ruby/2.3.0/bundler/gems/wikisnakker-07b47d9a96a4/lib/wikisnakker.rb:12:in `new' from /app/vendor/bundle/ruby/2.3.0/bundler/gems/wikisnakker-07b47d9a96a4/lib/wikisnakker.rb:12:in `find' from /app/vendor/bundle/ruby/2.3.0/bundler/gems/wikisnakker-07b47d9a96a4/lib/wikisnakker.rb:121:in `find' from /app/vendor/bundle/ruby/2.3.0/bundler/gems/wikidata-area-7afc67f2a1ea/lib/wikidata/area.rb:91:in `wikisnakker_items' from /app/vendor/bundle/ruby/2.3.0/bundler/gems/wikidata-area-7afc67f2a1ea/lib/wikidata/area.rb:95:in `wikidata_areas' from /app/vendor/bundle/ruby/2.3.0/bundler/gems/wikidata-area-7afc67f2a1ea/lib/wikidata/area.rb:83:in `data' from scraper.rb:21:in `<main>'

Data

Downloaded 800 times by everypolitician

To download data sign in with GitHub

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

rows 6 / 6

id iso_code identifier__freebase identifier__fips type identifier__geonames identifier__bnf name__zh name__pl name__ko name__fr name__es name__it name__de name__el name__pnb name__nl name__ar name__pt name__ru name__sr name__en name__tr name__ro name__ca name__fi name__uk name__war name__bg name__sco name__ur name__lt name__li name__nb name__ka name__fa name__ms name__hy name__he name__cs name__th name__sv name__ceb name__ja name__nn name__vi name__sk name__ne name__be name__te name__si name__hi name__zh_hans website name__da name__id name__ta name__mr name__bn name__gu name__kn name__lv name__ast name__hu name__cy name__be_tarask
Q59133
CY-05
/m/05wlyc
CY06
district of Cyprus
146213
12002568x
帕福斯区
Dystrykt Pafos
파포스 구
district de Paphos
Pafos
distretto di Pafo
Bezirk Paphos
Επαρχία Πάφου
ضلع پافوس
Paphos
منطقة بافوس
Pafos
Пафос
Пафос
Paphos District
Baf kazası
Districtul Paphos
Districte de Pafos
Pafoksen alue
Пафос
Paphos
Пафос
Paphos Destrict
ضلع پافوس
Pafoso apygarda
Paphos
Pafos
პაფოსის რაიონი
ناحیه پافوس
Daerah Paphos
Պաֆոսի շրջան
מחוז פאפוס
Pafos
เขตแพฟอส
Eparchía Páfou
Eparchía Páfou
パフォス地区
Distriktet Páfos
Distrik Paphos
Pafas eparhija
Paphos kerület
Ardal Paphos
Q59146
CY-06
/m/05wlwn
CY02
district of Cyprus
146411
凯里尼亚区
Dystrykt Kirenia
키레니아 구
district de Kyrenia
Girne
distretto di Kyrenia
Bezirk Kyrenia
Επαρχία Κερύνειας
ضلع کیرینیا
Kyrenia
منطقة كيرينيا
Kyrenia
Кирения
Керинеја
Kyrenia District
Girne kazası
Districtul Kyrenia
districte de Kerínia
Kyrenian alue
Киренія
Kyrenia
Кирения
Kyrenia Destrict
ضلع کیرینیہ
Kirenijos apygarda
Girne
Kyrenia
კირენიის რაიონი
ناحیه گیرنه
Daerah Kyrenia
Կիրենիայի շրջան
Kyrenia
เขตคีรีเนีย
Kyrenia
Eparchía Kerýneias
キレニア地区
Distriktet Kerýnia
Huyện Kyrenia
Girne
కైరేనియా జిల్లా
කයිරෙනියා දිස්ත්‍රික්කය
कायरेनिया जिला
凯里尼亚区
Kyrenia District
Distrik Kyrenia
கியரேனியா மாவட்டம்
कायरेनिया जिल्हा
কায়রেনিয়া জেলা
કીરેનિયા જિલ્લો
ಕಿರೆನಿಯಾ ಜಿಲ್ಲೆ
Kerinijas eparhija
Kyrenia kerület
Q59147
CY-01
/m/05wlxp
CY04
district of Cyprus
146267
尼科西亚区
Dystrykt Nikozja
니코시아 구
district de Nicosie
Nicosia
distretto di Nicosia
Bezirk Nikosia
Επαρχία Λευκωσίας
ضلع نکوسیا
Nicosia
منطقة نيقوسيا
Nicósia
Никосия
Никозија
Nicosia District
Lefkoşa ili
Districtul Nicosia
Districte de Nicòsia
Nikosian alue
Нікосія
Nicosia
Никозия
Nicosia Destrict
ضلع نیکوسیا
Nikosijos apygarda
Nicosia
Nikosia
ნიქოზიის რაიონი
ناحیه نیکوزیا
Daerah Nicosia
Նիկոսիայի շրջան
מחוז ניקוסיה
Nikósie
เขตนิโคเซีย
Eparchía Lefkosías
Eparchía Lefkosías
ニコシア地区
Distriktet Levkosía
Nicosia
नोकोसिया जिल्ला
Нікосія
Distrik Nicosia
Nikosijas eparhija
Distritu de Nicosia
Nikosia kerület
Ardal Nicosia
Q59150
CY-02
/m/05wly0
CY05
district of Cyprus
146383
利马索尔区
Dystrykt Limassol
리마솔 구
district de Limassol
Limasol
distretto di Limassol
Bezirk Limassol
Επαρχία Λεμεσού
ضلع لیمیسوس
Limasol
منطقة ليماسول
Limassol
Лимасол
Лимасол
Limassol District
Limasol Bölgesi
Districtul Limassol
Districte de Limassol
Limassolin alue
Лімасол
Limassol
Лимасол
Limassol Destrict
ضلع لیماسول
Limasolio apygarda
Limasol
Limassol
ლიმასოლის რაიონი
ناحیه لیماسول
Daerah Limassol
Լիմասոլի շրջան
מחוז לימסול
Lemesos
เขตลีมาซอล
Eparchía Lemesoú
Eparchía Lemesoú
リマソール地区
Distriktet Lemesós
Quận Limassol
లిమాసోల్ జిల్లా
ලිමස්සොල් දිස්ත්‍රික්කය
लिमासोल जिला
Limassol District
Distrik Limassol
லிமஸ்ஸோல் மாவட்டம்
लिमासोल जिल्हा
লিমাসোল জেলা
લિમાસોલ જિલ્લો
ಲಿಮಾಸಾಲ್ ಜಿಲ್ಲೆ
Limasolas eparhija
Distritu de Limasol
Limassol kerület
Лімасол
Q59148
CY-04
/m/05wlvz
CY01
district of Cyprus
146615
法马古斯塔区
Dystrykt Famagusta
파마구스타 구
district de Famagouste
Famagusta
distretto di Famagosta
Bezirk Famagusta
Επαρχία Αμμοχώστου
ضلع فاماگوستا
Famagusta
منطقة فاماغوستا
Famagusta
Фамагуста
Амохостос (округ)
Famagusta District
Mağusa kazası
Districtul Famagusta
Districte de Famagusta
Famagustan alue
Фамагуста
Famagusta
Фамагуста
Famagusta Destrict
ضلع فاماگوستا
Famagustos apygarda
Famagusta
Famagusta
ფამაგუსტის რაიონი
ناحیه فاماگوستا
Daerah Famagusta
Ֆամագուստայի շրջան
Gazimağusa
เขตแฟมากุสตา
Famagusta
Eparchía Ammochóstou
ファマグスタ地区
Distriktet Ammókhostos
Mağusa
ෆැමගුස්ටා දිස්ත්‍රික්කය
Distrik Famagusta
Famagusta kerület
Q59153
CY-03
/m/05wlxb
CY03
district of Cyprus
146398
拉纳卡区
Dystrykt Larnaka
라르나카 구
district de Larnaca
Lárnaca
distretto di Larnaca
Bezirk Larnaka
Επαρχία Λάρνακας
ضلع لرناکا
Larnaca
منطقة لارنكا
Larnaca
Ларнака
Ларнака
Larnaca District
Larnaka kazası
Larnaca
Districte de Làrnaca
Larnakan alue
Ларнака
Larnaca
Ларнака
Larnaca Destrict
ضلع لارناکا
Larnakos apygarda
Larnaka (distrik)
Larnaka
ლარნაკის რაიონი
ناحیه لارناکا
Daerah Larnaca
Լարնակայի շրջան
מחוז לרנקה
Larnaka
เขตลาร์นากา
Eparchía Lárnakas
Eparchía Lárnakas
ラルナカ地区
Distriktet Lárnaka
Quận Larnaca
లార్నాకా జిల్లా
ලමකා දිස්ත්‍රික්කය
लार्नाका जिला
Larnaca District
Distrik Larnaca
லார்நக மாவட்டம்
लार्नाका जिल्हा
লার্নাকা জেলা
લાર્નાકા જિલ્લો
ಲಾರ್ನಕ ಜಿಲ್ಲೆ
Larnakas eparhija
Lárnaka kerület

Statistics

Average successful run time: 2 minutes

Total run time: 1 day

Total cpu time used: about 1 hour

Total disk space used: 37.9 KB

History

  • Auto ran revision 635aa88a and failed .
    nothing changed in the database
  • Auto ran revision 635aa88a and completed successfully .
    6 records added, 6 records removed in the database
  • Auto ran revision 635aa88a and failed .
    nothing changed in the database
  • Auto ran revision 635aa88a and completed successfully .
    6 records added, 6 records removed in the database
  • Auto ran revision 635aa88a and failed .
    nothing changed in the database
  • ...
  • Created on morph.io

Show complete history

Scraper code

Ruby

cyprus-constituencies / scraper.rb