[cloudflare] don't output the whole challenge page

thanks to the embedded animated gifs this is just a bit too much
server
Mike Fährmann 6 years ago
parent 4ab0960083
commit 0328a04a65
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

@ -23,7 +23,6 @@ def request_func(self, *args, **kwargs):
response = self.session.get(*args, **kwargs)
if response.status_code == 503:
_cookiecache.invalidate(self.root)
self.log.debug(response.text)
self.log.info("Solving Cloudflare challenge")
response = solve_challenge(self.session, response)
_cookiecache(self.root, self.session.cookies)

Loading…
Cancel
Save