diff --git a/doctoshotgun.py b/doctoshotgun.py index 08e4baf..39491fe 100755 --- a/doctoshotgun.py +++ b/doctoshotgun.py @@ -203,7 +203,7 @@ def do_login(self): except ServerError as e: if e.response.status_code in [503] \ and 'text/html' in e.response.headers['Content-Type'] \ - and 'cloudflare' in e.response.text: + and ('cloudflare' in e.response.text or 'Checking your browser before accessing' in e .response.text): log('Request blocked by CloudFlare', color='red') raise try: