I want to parse the @spbmetro channel and make a text classifier to get information:
- which subway station was opened / closed
- when did it happen
- what was the reason
Then it will be possible to notify citizens more efficiently: make predictions in 2GIS / Yandex.Maps while building A-B routes; or just for a nice infographics.
metro.json
— names of subway stations, lines, colors, transfersexport.py
— script to export channel messages from telegramhistory.json
— dumped messages, refined by myselfvalidate_time.py
— used for validation of my refinementsstructure.py
— data objects with typings, describing subway and history
Run this project via PyCharm, cause I don't really get, how to run it from CLI.
Create new telegram application on the official website. Read Pyrogram docs.
[pyrogram]
api_id = 356428
api_hash = ...