fix tags
This commit is contained in:
@@ -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("Новость опубликована на сайте!")
|
||||
|
Reference in New Issue
Block a user