Don't use text but raw on FlareRequest
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Michel Roux 2022-12-21 15:56:04 +00:00
parent 1b04b7eb4b
commit cb5ecf9a29

View File

@ -35,9 +35,11 @@ class FlareRequests(Session):
solution = response.json()
if "solution" in solution:
response.cookies = solution["solution"]["cookies"]
response.status_code = solution["solution"]["status"]
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