Anorov / cloudflare-scrape

A Python module to bypass Cloudflare's anti-bot page.
MIT License
3.33k stars 455 forks source link

Working on Ubuntu but not in Raspbian (Buster) #466

Open RicardoMartinManso opened 4 months ago

RicardoMartinManso commented 4 months ago

""" On UBUNTU 22.04: working OK. On Raspibian (Buster): not working (HTTP error 403). Others url working ok. pip3 show cfscrape ----> 2.1.1 (on ubuntu and Raspbian) """

import cfscrape

scraper = cfscrape.create_scraper() # returns a CloudflareScraper instance r=scraper.get("https://www.lse.co.uk/share-prices/indices/ftse-100/constituents.html") print (r.text) print (r.status_code)

RicardoMartinManso commented 4 months ago

uname -m ---> armv7l