[cloudflare] don't output the whole challenge page

thanks to the embedded animated gifs this is just a bit too much
This commit is contained in:
Mike Fährmann
2018-12-30 13:09:23 +01:00
parent 4ab0960083
commit 0328a04a65

View File

@@ -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)