A webscraper for extracting information of schools from http://schulverzeichnis.eu
Project description
SVWebScraper
SVWebScraper is a tool to parse information of schools listed on http://schulverzeichnis.eu - a database of all austrian schools. As this site does not provide means for exporting the data to csv files this webscraper was implemented to do so.
How to use it?
$ svscrape --base-url https://schulverzeichnis.eu/typ/ --type neue-mittelschule --query ?bundesland=wien --csv schools.csv
Start scrapping schools from base url ...
20 schools scrapped from "http://www.schulverzeichnis.eu/typ/neue-mittelschule"
40 schools scrapped from "http://www.schulverzeichnis.eu/typ/neue-mittelschule"
...
$ cat ./export/schools.csv
NAME;ADRESSE;PLZ;ORT;TEL_NR
Freie Waldorfschule Wien-West ;Seuttergasse 29;1130;Wien;01/1234
Mittelschule des Schulvereins der Dominikanerinnen Wien;Schlossberggasse 17;1130;Wien;01/1234
Neue Mittelschule Wien;Neubaugasse 42;1070;Wien;01/1234
...
Documentation
$ svscrape --help
Usage: svscrape [OPTIONS]
Options:
--csv FILENAME
--baseurl TEXT
--type [neue-mittelschule|ahs-mit-nms|hauptschule|sonderschule]
--query TEXT
--help Show this message and exit.
Installing the Latest Version
python -m pip install svscrape
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
svscrape-2022.3.tar.gz
(9.7 kB
view hashes)
Built Distribution
svscrape-2022.3-py3-none-any.whl
(11.8 kB
view hashes)
Close
Hashes for svscrape-2022.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44630afb11a6a118506dbeb9fb5b82a3d83a54dd48bfaad2dda209dfbb199ab0 |
|
MD5 | 732b14aa8319eeb2a2e14b1d24aed9e0 |
|
BLAKE2b-256 | 938fc15d6b38b47f629e02282a29c09065abff990f89d3d434b2f3aedbfd9001 |