{"id":15395445,"url":"https://github.com/stef/ksh-scraper","last_synced_at":"2025-08-09T17:21:57.191Z","repository":{"id":66440184,"uuid":"1138441","full_name":"stef/ksh-scraper","owner":"stef","description":"scraper for the hungarian statistics office","archived":false,"fork":false,"pushed_at":"2010-12-09T00:39:05.000Z","size":586,"stargazers_count":9,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-16T00:42:05.835Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stef.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-12-04T17:09:58.000Z","updated_at":"2023-09-08T16:27:59.000Z","dependencies_parsed_at":"2023-02-20T04:05:22.808Z","dependency_job_id":null,"html_url":"https://github.com/stef/ksh-scraper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stef/ksh-scraper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stef%2Fksh-scraper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stef%2Fksh-scraper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stef%2Fksh-scraper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stef%2Fksh-scraper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stef","download_url":"https://codeload.github.com/stef/ksh-scraper/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stef%2Fksh-scraper/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269606793,"owners_count":24446269,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-09T02:00:10.424Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-01T15:28:23.156Z","updated_at":"2025-08-09T17:21:57.140Z","avatar_url":"https://github.com/stef.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# KSH 2 CSV\n\nis a [H.A.C.K.](http://hspbp.org/) contribution to the [2010 Open Data Hackday](http://www.opendataday.org/). KSH is the [Hungarian Central Statistical Office](http://portal.ksh.hu/portal/page?_pageid=38,119919\u0026_dad=portal\u0026_schema=PORTAL) and it publishes it's data in some unprocessable html forms (btw those guys should look into sql injections to their precious Oracle DB).\n\n## Usage\n\n### console\n    ksh_scrape.py http://portal.ksh.hu/pls/ksh/docs/hun/xstadat/xstadat_eves/i_onp004b.html\n### web\nSimply 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](http://mx.ctrlc.hu/ksh-scrape?http://portal.ksh.hu/pls/ksh/docs/hun/xstadat/xstadat_eves/i_zoi011.html)\n### web + automagic\nUsing Greasemonkey [Firefox](https://addons.mozilla.org/en-US/firefox/addon/748/), [Chrome](http://blog.chromium.org/2010/02/40000-more-extensions.html), [IE](http://www.gm4ie.com/), you can install also the [userscript](https://github.com/stef/ksh-scraper/raw/master/ksh2csv.user.js) which will automatically insert \"download as CSV\" links on the pages with html-encumbered data.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstef%2Fksh-scraper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstef%2Fksh-scraper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstef%2Fksh-scraper/lists"}