cloudflare-scrape
cloudflare-scrape copied to clipboard
Fails on site
- [ x] I've upgraded cfscrape with
pip install -U cfscrape - [ x] I'm using Node version 10 or higher
- [ x] The site protection I'm having issues with is from Cloudflare
- [ x] I'm not using Tor, a VPN, or an anonymizing proxy
win7 x64, Python 3.6.8, cfscrape==2.1.1, node v12.16.3
import cfscrape scraper = cfscrape.create_scraper() scraper.get("https://torrentz2.eu").content
Traceback (most recent call last): File "C:\Python36-64\lib\site-packages\cfscrape_init_.py", line 255, in solve_challenge javascript, flags=re.S AttributeError: 'NoneType' object has no attribute 'groups'
File "C:\Python36-64\lib\site-packages\cfscrape_init_.py", line 204, in solve_cf_challenge answer, delay = self.solve_challenge(body, domain) File "C:\Python36-64\lib\site-packages\cfscrape_init_.py", line 292, in solve_challenge % BUG_REPORT ValueError: Unable to identify Cloudflare IUAM Javascript on website. Cloudflare may have changed their technique, or there may be a bug in the script.