From e804c549e54a55b6f6b75416b14823bb1b25198d Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Tue, 9 May 2023 22:14:11 +0200 Subject: [PATCH] prod ready making --- src/main.py | 14 +++++++------- storage.txt | 0 2 files changed, 7 insertions(+), 7 deletions(-) create mode 100644 storage.txt diff --git a/src/main.py b/src/main.py index 0945ad5..a81cb7c 100755 --- a/src/main.py +++ b/src/main.py @@ -81,13 +81,13 @@ Länge: {dur} print(content) - #notify = requests.post( - # url=WEBHOOK, - # json={ - # "content": content - # } - # ) - #print(notify.text) + notify = requests.post( + url=CONFIG['WEBHOOK'], + json={ + "content": content + } + ) + print(notify.text) known.append(a['title']) diff --git a/storage.txt b/storage.txt new file mode 100644 index 0000000..e69de29