Don't use text but raw on FlareRequest
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
1b04b7eb4b
commit
cb5ecf9a29
@ -35,9 +35,11 @@ class FlareRequests(Session):
|
|||||||
solution = response.json()
|
solution = response.json()
|
||||||
|
|
||||||
if "solution" in solution:
|
if "solution" in solution:
|
||||||
response.cookies = solution["solution"]["cookies"]
|
response.status_code = solution["solution"]["status"]
|
||||||
response.headers = solution["solution"]["headers"]
|
response.headers = solution["solution"]["headers"]
|
||||||
response.text = solution["solution"]["response"]
|
response.raw = solution["solution"]["response"]
|
||||||
|
response.url = url
|
||||||
|
response.cookies = solution["solution"]["cookies"]
|
||||||
|
|
||||||
return response
|
return response
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user