Add subtitle rename

This commit is contained in:
EstrellaXD
2023-05-03 15:42:25 +08:00
parent ae76c9baf8
commit 3a59838ca3
6 changed files with 133 additions and 45 deletions

View File

@@ -42,6 +42,7 @@ class TelegramNotification:
}
with RequestContent() as req:
resp = req.post_data(self.notification_url, data)
logger.debug(f"Telegram notification: {resp.status_code}")
return resp.status_code == 200
@@ -58,4 +59,5 @@ class ServerChanNotification:
}
with RequestContent() as req:
resp = req.post_data(self.notification_url, data)
logger.debug(f"ServerChan notification: {resp.status_code}")
return resp.status_code == 200