jliski / verokone

Helsingin Sanomien Verokoneen scraper


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

Contributors jliski

Last run failed with status code 1.

Console output of last run

Injecting configuration and compiling... Injecting scraper and running... Handling year = 0 Traceback (most recent call last): File "scraper.py", line 58, in <module> handle_year(i) File "scraper.py", line 49, in handle_year html = scraperwiki.scrape(url) File "/app/.heroku/src/scraperwiki/scraperwiki/utils.py", line 31, in scrape f = urllib2.urlopen(req) File "/app/.heroku/python/lib/python2.7/urllib2.py", line 127, in urlopen return _opener.open(url, data, timeout) File "/app/.heroku/python/lib/python2.7/urllib2.py", line 410, in open response = meth(req, response) File "/app/.heroku/python/lib/python2.7/urllib2.py", line 523, in http_response 'http', request, response, code, msg, hdrs) File "/app/.heroku/python/lib/python2.7/urllib2.py", line 442, in error result = self._call_chain(*args) File "/app/.heroku/python/lib/python2.7/urllib2.py", line 382, in _call_chain result = func(*args) File "/app/.heroku/python/lib/python2.7/urllib2.py", line 629, in http_error_302 return self.parent.open(new, timeout=req.timeout) File "/app/.heroku/python/lib/python2.7/urllib2.py", line 404, in open response = self._open(req, data) File "/app/.heroku/python/lib/python2.7/urllib2.py", line 422, in _open '_open', req) File "/app/.heroku/python/lib/python2.7/urllib2.py", line 382, in _call_chain result = func(*args) File "/app/.heroku/python/lib/python2.7/urllib2.py", line 1222, in https_open return self.do_open(httplib.HTTPSConnection, req) File "/app/.heroku/python/lib/python2.7/urllib2.py", line 1184, in do_open raise URLError(err) urllib2.URLError: <urlopen error [Errno 1] _ssl.c:507: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol>

Data

Downloaded 1 time by MikeRalphson

To download data sign in with GitHub

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

rows 3 / 3

sij_kokonaistulot syntymavuosi vuosi ansiotulot asema sij_ansiotulot nimi veroprosentti varallisuus paaomatulot kokonaistulot
7484
1995
2011
0.0
Veijalainen Pyry Anton
29.0
-
0.21
0.21
8107
1995
2012
0.0
30552
Veijalainen Pyry Anton
32.0
-
0.2
0.2
9479
1995
2013
0.0
32498
Veijalainen Pyry Anton
32.0
-
0.2
0.2

Statistics

Average successful run time: less than 5 seconds

Total run time: half a minute

Total cpu time used: less than 5 seconds

Total disk space used: 27.4 KB

History

  • Manually ran revision 7460e0d1 and failed .
    nothing changed in the database
  • Manually ran revision 7460e0d1 and failed .
    nothing changed in the database
  • Manually ran revision ee097dd0 and failed .
    3 records added in the database
  • Manually ran revision 87d07340 and failed .
    nothing changed in the database
  • Manually ran revision 931b0cb1 and completed successfully .
    nothing changed in the database
  • Created on morph.io

Scraper code

Python

verokone / scraper.py