From d7718ad57f2e15f39f54f1465e492a5b6c8356b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9=20=D0=A5=D1=80?= =?UTF-8?q?=D0=B0=D0=BC=D0=BE=D0=B2?= Date: Wed, 29 May 2024 20:23:52 +0300 Subject: [PATCH] fix tags --- news-bot.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/news-bot.py b/news-bot.py index dddf410..0389c97 100755 --- a/news-bot.py +++ b/news-bot.py @@ -22,8 +22,7 @@ url_changelog = "https://gitlab.eterfund.ru/Castro-Fidel/PortWINE/raw/master/dat heads_site = { "Content-Type": "application/json", "Api-Key": keys.api_key_site, - "Api-Username": "linux-gaming", - "skip_validations": "true" + "Api-Username": "linux-gaming" } params_get = { @@ -247,7 +246,6 @@ def site_post(url, headers, json): while True: title = json.get('title') try: - print(json) resp_post = requests.post(url=url, headers=headers, json=json) if resp_post.status_code == 200: logging.info("Новость опубликована на сайте!")