A simple web scraper to extract prices from www.vgn.de/tickets
to JSON, CSV and Markdown.
The repo includes the latest results, so you don't have to run the script yourself.
- JSON:
prices.json
- CSV:
prices.csv
- Markdown:
prices.md
git clone https://github.com/justusjonas74/vgn-prices
cd vgn-prices
npm install
npm run scraper # generates prices.json and prices.csv
npm run markdown # generates prices.md based on prices.json
Actually only products with a price table on their web page are supported, cause that's the scraping source.
einzelfahrkarte
4er-ticket
tagesticket-solo
7-tage-mobicar
31-tage-mobicard
abo3
jahresab
9-uhr-jahresabo
wochenwertmarke-ausbildung
studenten
10er-streifenkarte
ferienticket
firmenabo
anschlussfahrausweis
flugticket
bayern-ticket
schoenes-wochenende-ticket
city-ticket
fahrrad-tageskarte-bayern
db-zuschlag
bamberger-sonderkarten
kaerwa-tickets
ermaessigte-monatskarte
gruppenfahrkarte
hotelfahrkarte
kombiticket
autohaus-ticket
Source code is licensed under MIT license. No license and no guarantees implied on the produced data, produce and use on your own risk.