Skip to content
Merged

. #147

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion newapi/client_wiki/pages/super_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,7 @@ def save(

# params['basetimestamp'] = self.revisions_data.timestamp

pop = self.login_bot.client_request_safe(params)
pop = self.login_bot.client_request_safe(params, method="post")

if not pop:
return False
Expand Down
12 changes: 6 additions & 6 deletions newapi/super/S_API/bot_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def Find_pages_exists_or_not(self, liste, get_redirect=False, noprint=False):
# ---
# if get_redirect: params["redirects"] = 1
# ---
json1 = self.login_bot.client_request_safe(params)
json1 = self.login_bot.client_request_safe(params, method="post")
# ---
if not json1:
if not noprint:
Expand Down Expand Up @@ -138,7 +138,7 @@ def Find_pages_exists_or_not_with_qids(
if get_redirect:
params["redirects"] = 1
# ---
json1 = self.login_bot.client_request_safe(params)
json1 = self.login_bot.client_request_safe(params, method="post")
# ---
if not json1:
if not noprint:
Expand Down Expand Up @@ -560,7 +560,7 @@ def Get_langlinks_for_list(self, titles, targtsitecode="", numbes=40):
# ---
# logger.debug(f'work for {len(group)} pages')
# ---
json1 = self.login_bot.client_request_safe(params)
json1 = self.login_bot.client_request_safe(params, method="post")
# ---
if not json1:
logger.info("bot_api. json1 is empty")
Expand Down Expand Up @@ -608,7 +608,7 @@ def get_logs(self, title):
"formatversion": 2,
}
# ---
data = self.login_bot.client_request_safe(params)
data = self.login_bot.client_request_safe(params, method="post")
# ---
if not data:
return []
Expand Down Expand Up @@ -788,7 +788,7 @@ def Get_image_url(self, title):
"formatversion": "2",
}
# ---
results = self.login_bot.client_request_safe(params)
results = self.login_bot.client_request_safe(params, method="post")
# ---
if not results:
return ""
Expand Down Expand Up @@ -820,7 +820,7 @@ def Get_imageinfo(self, title):
"formatversion": "2",
}
# ---
results = self.login_bot.client_request_safe(params)
results = self.login_bot.client_request_safe(params, method="post")
# ---
if not results:
return ""
Expand Down
Loading