Little script to learn go and scrape data from club websites in vienna to show the upcoming events. Outputs a JSON file, which is then used by an telegram bot, to display the information.
The let the bot trigger the update of the JSON automatically, the binary needs to be put inside its
directory. Then the bot will run twice a day. In addition, the update can be triggered with
/update
(only by the hoster).
To built the binary inside the directory, run the following command:
go build -o telbot
Parsed via frey-tag.at (an amazing website containing all necessary information in a beautiful (and parseable) manner) for different reasons:
- Kramladen -> website down / no website
- O-Klub -> 'website=facebook' -> Ticket Shop does not contain all events
- Pratersauna -> website info to unreliable for parsing
- Praterstrasse/PRST -> club=IG
- club-u -> broken site (no events)
- ponyhof -> website=IG
To come: