cloudflare-scrape: Error parsing Cloudflare IUAM Javascript challenge

script was working reliably for weeks, but this morning spit out the above error.

Here is a pastebin of the page text: https://pastebin.com/HXmdsm0E

Page url in the pastebin.

it’s failing at the start of the script, with the line: cookie_arg, user_agent = cfscrape.get_cookie_string(url)

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 23 (4 by maintainers)

Most upvoted comments

Thanks everyone. I’m pre-occupied at the moment, but I’ve identified the change Cloudflare made and will get the module working again in a few hours.

I pushed a change to fix this issue. Can you all please run pip install cfscrape -U to update to the latest version and check if the issue is resolved now?

Cloudflare made some minor changes to their IUAM challenge, which is what caused the library to break. I also refreshed the user-agent pool and increased the delay to 8 seconds to make it a little bit harder for them to detect.

getting the same error still.,… version details below

root@ca8e16272d84:/$ pip show cfscrape
Name: cfscrape
Version: 1.9.5
Summary: A simple Python module to bypass Cloudflare’s anti-bot page. See https://github.com/Anorov/cloudflare-scrap e for more information.
Home-page: https://github.com/Anorov/cloudflare-scrape
Author: Anorov
Author-email: anorov.vorona@gmail.com
License: UNKNOWN
Location: /usr/lib/python2.7/site-packages
Requires: requests

Working fine on my scripts!! Thanks a lot

Works like a charm. Thank you!

Confirming same issue on http://socket.bittrex.com/signalr

I also have the issue on http://oneblockdown.it/