Unable to identify Cloudflare IUAM Javascript on website
See original GitHub issueBefore creating an issue, first upgrade cfscrape with pip install -U cfscrape
and see if you’re still experiencing the problem. Please also confirm your Node version (node --version
or nodejs --version
) is version 10 or higher.
Make sure the website you’re having issues with is actually using anti-bot protection by Cloudflare and not a competitor like Imperva Incapsula or Sucuri. And if you’re using an anonymizing proxy, a VPN, or Tor, Cloudflare often flags those IPs and may block you or present you with a captcha as a result.
Please confirm the following statements and check the boxes before creating an issue:
- I’ve upgraded cfscrape with
pip install -U cfscrape
- I’m using Node version 10 or higher
- The site protection I’m having issues with is from Cloudflare
- I’m not using Tor, a VPN, or an anonymizing proxy
Python version number:3.6.0
cfscrape version number:2.1.1
Code snippet involved with the issue
scraper = cfscrape.create_scraper(delay=5) print(scraper.get(session_url).content)
Complete exception and traceback
(If the problem doesn’t involve an exception being raised, leave this blank)
ValueError: Unable to identify Cloudflare IUAM Javascript on website. Cloudflare may have changed their technique, or there may be a bug in the script.
URL of the Cloudflare-protected page: https://cn.investing.com/
[LINK GOES HERE]
URL of Pastebin/Gist with HTML source of protected page
[LINK GOES HERE]
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (1 by maintainers)
Top GitHub Comments
I choose not to update the public one, its not a case of “can no longer fix”…
The paid subscription code works fine… (find me on discord if you wish to inquire)
I just saw on twitter that 1 week ago, cloudflare posted an announcement about ‘’ cloudscraper ‘’ saying that the new update destroyed cloudscraper forever I think that the cloudscraper admin @VeNoMouS can no longer fix this public repo, probably only the version paid by him will keep it updated
a new method would be to use puppeteer, I found this version of cloudscraper based on puppeteer https://github.com/ryxnSZN/cloudscraper it needs a few updates to bypass the IUAM page
Cloudflare no longer uses the cfduid cookie in headers (set-cookie)
// https://github.com/scaredos/cfresearch here some info about new challenge