Update bot.py

This commit is contained in:
DerrtSML 2025-06-23 17:32:00 +03:00 committed by GitHub
parent 309297cc34
commit dff4845240
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

4
bot.py
View File

@ -50,8 +50,8 @@ def init_qbittorrent_client():
# qbittorrentapi ожидает хост без 'http://' и без порта
qb = Client(
host=f"{QBT_HOST}:{QBT_PORT}", # Хост и порт вместе
username=QBT_USERNAME,
password=QBT_PASSWORD
username=admin,
password=Derrty5Derrt5
)
# Проверим подключение, вызвав что-нибудь простое, например, api_version
# Это также выполняет аутентификацию