1
0
mirror of https://github.com/serega404/VodokanalBot.git synced 2026-05-30 12:10:01 +03:00

Добавил поддержку MeshCore через HA

This commit is contained in:
2026-05-29 01:41:01 +03:00
parent 6f2b27f00e
commit 03a4ad5d8e
9 changed files with 131 additions and 14 deletions
-2
View File
@@ -3,7 +3,6 @@ import os
from parser import create_session, publish_new_posts
URL = os.environ.get('VODOKANAL_URL', 'http://www.tgnvoda.ru/avarii.php')
SEND_SILENT = os.environ.get('SEND_SILENT', False)
TELEGRAM_TOKEN = os.environ.get('TELEGRAM_TOKEN', '')
TELEGRAM_CHANNEL = os.environ.get('TELEGRAM_CHANNEL', '')
@@ -40,7 +39,6 @@ def main():
publish_new_posts(
send_message=lambda message: send_telegram_message(session, message),
session=session,
url=URL,
)
except RuntimeError as error:
print(error)