-
Notifications
You must be signed in to change notification settings - Fork 1
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
403 when fetching rankings #2
Comments
Yes I've found this problem is for the most part resolved by Selenium. One down side of using Selenium is you have to install the chrome web-driver (or another web-driver) before you are able to use it... For that reason I was thinking of having a secondary file for selenium use... What do you think about that? |
@TISHARP using selenium isn't very effective , atleast in this context. Selenium makes more sense in situation where there's dynamic data or complex dynamic html rendering on client side. This endpoint provides well formatted json response so would be better if direct http request could be made. There are few libraries for bypassing cloudflare but so far i couldn't make them work with the specified endpoint |
https://github.com/baoliay2008/lccn_predictor Hi, you can try to refer to the codebase of this repo. I think they have managed to bypass Cloudflare. They are using Python and crawler. |
Hii @rahulharpal1603 , i am not sure what libraries they have used but i personally used |
It appears that there's anti-bot protection enabled by cloudflare for
/api/ranking/*
pageThe text was updated successfully, but these errors were encountered: