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("Новость опубликована на сайте!")