jarib / kommunenokkelen

Norwegian municipality data


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

Contributors jarib

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.4.1 -----> Installing dependencies using bundler 1.15.2  Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment  Warning: the running version of Bundler (1.15.2) is older than the version that created the lockfile (1.17.3). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.  Fetching gem metadata from https://rubygems.org/......  Fetching version metadata from https://rubygems.org/.  Fetching https://github.com/openaustralia/scraperwiki-ruby.git  Using bundler 1.15.2  Fetching httpclient 2.8.3  Fetching mini_portile2 2.4.0  Fetching sqlite3 1.4.0  Installing mini_portile2 2.4.0  Installing sqlite3 1.4.0 with native extensions  Fetching nokogiri 1.10.2  Installing httpclient 2.8.3  Installing nokogiri 1.10.2 with native extensions  Fetching sqlite_magic 0.0.6  Installing sqlite_magic 0.0.6  Using scraperwiki 3.0.1 from https://github.com/openaustralia/scraperwiki-ruby.git (at morph_defaults@fc50176)  Bundle complete! 2 Gemfile dependencies, 7 gems now installed.  Gems in the groups development and test were not installed.  Bundled gems are installed into ./vendor/bundle.  Bundle completed (16.76s)  Cleaning up the bundler cache.  Warning: the running version of Bundler (1.15.2) is older than the version that created the lockfile (1.17.3). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`. -----> Detecting rake tasks   -----> Discovering process types  Procfile declares types -> scraper Injecting scraper and running... "http://www.kommunenokkelen.no/home" /app/vendor/ruby-2.4.1/lib/ruby/2.4.0/net/http.rb:904:in `initialize': execution expired (Net::OpenTimeout) from /app/vendor/ruby-2.4.1/lib/ruby/2.4.0/net/http.rb:904:in `open' from /app/vendor/ruby-2.4.1/lib/ruby/2.4.0/net/http.rb:904:in `block in connect' from /app/vendor/ruby-2.4.1/lib/ruby/2.4.0/timeout.rb:103:in `timeout' from /app/vendor/ruby-2.4.1/lib/ruby/2.4.0/net/http.rb:902:in `connect' from /app/vendor/ruby-2.4.1/lib/ruby/2.4.0/net/http.rb:887:in `do_start' from /app/vendor/ruby-2.4.1/lib/ruby/2.4.0/net/http.rb:876:in `start' from /app/vendor/ruby-2.4.1/lib/ruby/2.4.0/open-uri.rb:323:in `open_http' from /app/vendor/ruby-2.4.1/lib/ruby/2.4.0/open-uri.rb:741:in `buffer_open' from /app/vendor/ruby-2.4.1/lib/ruby/2.4.0/open-uri.rb:212:in `block in open_loop' from /app/vendor/ruby-2.4.1/lib/ruby/2.4.0/open-uri.rb:210:in `catch' from /app/vendor/ruby-2.4.1/lib/ruby/2.4.0/open-uri.rb:210:in `open_loop' from /app/vendor/ruby-2.4.1/lib/ruby/2.4.0/open-uri.rb:151:in `open_uri' from /app/vendor/ruby-2.4.1/lib/ruby/2.4.0/open-uri.rb:721:in `open' from /app/vendor/ruby-2.4.1/lib/ruby/2.4.0/open-uri.rb:35:in `open' from scraper.rb:7:in `fetch' from scraper.rb:14:in `<main>'

Data

Downloaded 5 times by jarib

To download data sign in with GitHub

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

rows 10 / 722

kommunenr besøksadresse postadresse postnrsted telefon telefaks epost webadresse   ordfører rådmann kommunefakta
1622
Rådhuset
Rådhuset
7316 LENSVIK
72 49 22 00
Rådhuset
postmottak@agdenes.kommune.no
Oddvar Indergård
Geir-Ove Storstein
1627
Alf Nebbs gate 2
Rådhuset
7160 BJUGN
72 51 95 00
72 51 95 01
postmottak@bjugn.kommune.no
Ogne Undertun
Emil Raaen
1620
Rådhusgata 25
Postboks 152
7261 SISTRANDA
72 46 32 00
0
postmottak@froya.kommune.no
Berit Flåmo
Svanhild Mosebakken
1612
Trondheimsveien 1
Trondheimsveien 1
7200 KYRKSÆTERØRA
72 46 00 00
72 46 00 01
postmottak@hemne.kommune.no
Odd Jarle Svanem
Torger Aarvaag
1617
Rådhusveien 1
Rådhusveien 1
7240 HITRA
72 44 17 00
postmottak@hitra.kommune.no
Ole Laurits Haugen
Laila Eide Hjertø
1644
Bakkavegen 1
Hovsletta
7380 ÅLEN
72 41 76 00
72 41 76 18
epost@holtalen.kommune.no
Jan Håvard Refsethås
Marius Jermstad
1662
Vikingvegen 8
Postboks 200
7541 KLÆBU
72 83 35 00
72 83 35 01
postmottak@klabu.kommune.no
Kirsti Tømmervold
Kjetil Mjøsund
1663
Torggata 1
Postboks 140
7551 HOMMELVIK
73 97 20 00
73 97 20 01
postmottak@malvik.kommune.no
Ingrid Aune
Carl-Jakob Midttun
1636
Kvamsveien 2
Kvamsveien 2
7336 MELDAL
72 49 51 00
postmottak@meldal.kommune.no
Are Hilstad
Petter Lindseth
1653
Rådhusvegen 2
Rådhuset
7224 MELHUS
72 85 80 00
72 85 80 58
postmottak@melhus.kommune.no
Gunnar Krogstad
Katrine Lereggen

Statistics

Average successful run time: 4 minutes

Total run time: 4 days

Total cpu time used: about 2 hours

Total disk space used: 229 KB

History

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

Show complete history

Scraper code

Ruby

kommunenokkelen / scraper.rb