{"id":20489412,"url":"https://github.com/intel777/asu-timetable-tgbot","last_synced_at":"2026-04-21T04:32:10.455Z","repository":{"id":213066839,"uuid":"108756205","full_name":"intel777/asu-timetable-tgbot","owner":"intel777","description":"Simple time schedule table bot for telegram. ","archived":false,"fork":false,"pushed_at":"2017-10-29T18:56:02.000Z","size":35,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-05T17:17:19.237Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"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/intel777.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-10-29T17:39:22.000Z","updated_at":"2024-02-14T08:05:06.000Z","dependencies_parsed_at":"2023-12-18T09:01:45.136Z","dependency_job_id":null,"html_url":"https://github.com/intel777/asu-timetable-tgbot","commit_stats":null,"previous_names":["intel777/asu-timetable-tgbot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/intel777/asu-timetable-tgbot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intel777%2Fasu-timetable-tgbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intel777%2Fasu-timetable-tgbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intel777%2Fasu-timetable-tgbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intel777%2Fasu-timetable-tgbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/intel777","download_url":"https://codeload.github.com/intel777/asu-timetable-tgbot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intel777%2Fasu-timetable-tgbot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32076909,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T02:38:07.213Z","status":"ssl_error","status_checked_at":"2026-04-21T02:38:06.559Z","response_time":128,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-11-15T17:12:49.865Z","updated_at":"2026-04-21T04:32:10.440Z","avatar_url":"https://github.com/intel777.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# asu-timetable-tgbot\nSimple time schedule table bot for [ASU](http://mkr.org.ua/) for telegram. \n\n## Screenshots\n![screenshot](https://raw.githubusercontent.com/intel777/asu-timetable-tgbot/master/screenshots/Telegram_2017-10-29_20-53-22.png)\n![screenshot](https://raw.githubusercontent.com/intel777/asu-timetable-tgbot/master/screenshots/Telegram_2017-10-29_20-54-39.png)\n\n## Depends on \n* [python-telegram-bot](https://github.com/python-telegram-bot/python-telegram-bot)\n* [xlrd](https://pypi.python.org/pypi/xlrd)\n* [xlutils](https://pypi.python.org/pypi/xlutils)\n* [beautifulsoup4](https://pypi.python.org/pypi/beautifulsoup4)\n\nAll can be easily installed by\n`pip3 install python-telegram-bot xlrd xlutils beautifulsoup4`\n\n## Usage\n### Commands\n* /table \u003cdate, optional\u003e - will send you schedule for specified date otherwise for today. Date format DD.MM.YY\n* /start - will subscribes you to warnings about schedule changes\n* /stop - unsubscribes you\n\n\n### txtable function\nThis function will help you get schedule by '/table' command listed below\n\nFirstly, change variable **tg_token** to one that [Botfather](https://t.me/botfather) had gived to you.\nNext, you need some information from ASU system that your university using. Open ASU, select your schedule, open developers tools, goto \"network\" tab, refresh page and see what POST parameters had been sended. Replace **data** dictionary with that info. Then copy URL of schedule page in **url** variable. \n\n### updateprocessor module\nThis module will check for scheude updates every hour and if exists, send you .xml document of schedule, also can be used to send schedule(like /table function) by specific time\n\nMostly, same steps you have done in previous function, but here is some extra variables to edit.\nThere is couple lines of code:\n```python\nif(now_time.hour == 5):\n  response = txtable('/table')\n  bot.sendMessage(chat_id=-1001131185693, text = response, disable_notification = True)\n```\nThis code is responsible for sending schedule by time.\n* now_time.hour == 5 - change '5' to hour that you wand to schedule be sended, also you can add `and now_time.minute = N` to be more accurate \n* txtable('/table') - actually a hack. May be fixed in feature.(It actually musn't take any argument to work properly, but I'm not sure)\n* chat_id - chat_id in wich it will be sended(replace it by your group's chat id!)\n* disable_notification = True - to be quiet\n\n## Licensing\nLicensed under WTFPL(Do What The Fuck You Want To Public License)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintel777%2Fasu-timetable-tgbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fintel777%2Fasu-timetable-tgbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintel777%2Fasu-timetable-tgbot/lists"}