Skip to content
scraper for the hungarian statistics office
Python JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
README.md
ksh2csv.user.js
ksh_scrape.py

README.md

KSH 2 CSV

is a H.A.C.K. contribution to the 2010 Open Data Hackday. KSH is the Hungarian Central Statistical Office and it publishes it's data in some unprocessable html forms (btw those guys should look into sql injections to their precious Oracle DB).

Usage

console

ksh_scrape.py http://portal.ksh.hu/pls/ksh/docs/hun/xstadat/xstadat_eves/i_onp004b.html

web

Simply prepend the URL from portal.ksh.hu with our online ksh-scrape webservice url http://mx.ctrlc.hu/ksh-scrape?, like this: http://mx.ctrlc.hu/ksh-scrape?http://portal.ksh.hu/pls/ksh/docs/hun/xstadat/xstadat_eves/i_zoi011.html

web + automagic

Using Greasemonkey Firefox, Chrome, IE, you can install also the userscript which will automatically insert "download as CSV" links on the pages with html-encumbered data.

Something went wrong with that request. Please try again.