This commit is contained in:
parent
bda4f24abb
commit
edd06e5bbb
@ -36,8 +36,9 @@ class FlareRequests(requests.Session):
|
|||||||
else:
|
else:
|
||||||
raise requests.RequestException(response)
|
raise requests.RequestException(response)
|
||||||
|
|
||||||
url += "&" if len(url.split("?")) > 1 else "?"
|
if params:
|
||||||
url = f"{url}{urllib.parse.urlencode(params)}"
|
url += "&" if len(url.split("?")) > 1 else "?"
|
||||||
|
url = f"{url}{urllib.parse.urlencode(params)}"
|
||||||
|
|
||||||
post_data = {
|
post_data = {
|
||||||
"cmd": f"request.{method.lower()}",
|
"cmd": f"request.{method.lower()}",
|
||||||
|
Loading…
Reference in New Issue
Block a user