Answer the question
In order to leave comments, you need to log in
How to bypass Cloudflare blocking?
I make requests to the site (using requests), but they are blocked through Cloudflare. I read about cloudscraper, but it doesn't help either. What to do?
import cloudscraper
scraper = cloudscraper.create_scraper()
print(scraper.get('https://magiceden.io')) # <Response [403]>
Answer the question
In order to leave comments, you need to log in
https://github.com/Anorov/cloudflare-scrape
+ a few more techniques
everything can be faked or imitated one way or another, but requests does not support javascript and all parsers fly on this
if it is a single service that you need access to, that is, for example, with selenium
, yes, slowly, yes, buggy, but again, with the correct formulation of the question, you will get proper automation .
if the parsing process is somewhere in the middle and there are some client online muzzles to this business, then look from the side of the server deanon. there are mechanisms, but a lot depends on the curvature of the hands of the owners. for example, you can deanonymize using mirrors, sub domains, email headers, downloading files via a link, etc.
there is a combined version with a certain delay in actual information. for example, in a few hours and not on request
if there are many such services for piercing, then the above combined option is possible, but the time increases exponentially and the buggy of the mechanism as a whole increases
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question