cloudscraper
cloudscraper copied to clipboard
Fixing 200 HTTP response with empty body
I just encountered a case where cloudflare were returning 200 OK, but the code was still throwing an error. Fixed that by checking the length of the body and also the response status code.