From 69d45c9380ecb58531358c56fcc7ed591563baa0 Mon Sep 17 00:00:00 2001 From: Sourcery AI <> Date: Wed, 23 Jun 2021 15:41:42 +0000 Subject: [PATCH] 'Refactored by Sourcery' --- start_bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/start_bot.py b/start_bot.py index 6f607a7..4ff7609 100644 --- a/start_bot.py +++ b/start_bot.py @@ -38,14 +38,14 @@ # header for scrapper headers = { "host": f"{hostname}:443", - "Accept": "application/json", "Referer": f"https://{hostname}/{STORE_ID}", "Content-Type": "application/json", "Accept": "*/*", "Sec-Fetch-Mode": "no-cors", - "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.100 Safari/537.36" + "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.100 Safari/537.36", } + # Telegram settings telegram_api = f"https://api.telegram.org/bot{TELEGRAM_TOKEN}/sendMessage"