Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
RicardoMartinManso opened this issue Feb 13, 2024 · 1 comment
Open

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

RicardoMartinManso opened this issue Feb 13, 2024 · 1 comment

Comments

@RicardoMartinManso
Copy link

"""
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
Copy link
Author

uname -m ---> armv7l

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant