-
Notifications
You must be signed in to change notification settings - Fork 56
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
Accessing live matches 403 error on Heroku #19
Comments
I am also getting the same problem |
Do you have any workarounds in mind? |
Yes |
@imaginarystarlord Can you share the idea, so that it may be helpful to others. Thanks! |
@rakemen Yes, it looks like ip address of the cloud servers are blocked. One way to get around this is to use a proxy address and then make a request. You can find many proxy ip addresses online.
The above request works on azure and should also work on other cloud instances. So, the solution will be to set up "http_proxy" environment variable before using the library. |
we have to rotate IP with rotating user agent |
I have tried with the above ip in heroku,it is not working can anyone suggest any other ip,or where can I get those ips. |
@codophobia I have tried with the ip provided by you it is not working in heroku,can u suggest any other ip adress,can u guide me where I can get those ips. |
What u want to do? |
@codophobia thanks for Sharing free proxy list. I have tried one of the proxy in the provided site.Still same issue facing in Pythonanywhere site. export http_proxy=http://51.38.71.101:8080
Getting this error:-Traceback (most recent call last): |
You have to rotate ips with rotating user agent, continuously, because these are free ips, they work sometimes, they may not work some times |
@imaginarystarlord imaginarystarlord Thanks for the reply.Can you share some code snippet for this.How to rotate ips using rotating user agent. |
@codophobia @imaginarystarlord Hi All,Anyone has any official document for cricbuzz for the usinng the api.Actually I raised this issue in pythonanywhere,they are asking for official documentation to to whitelist the api in Pythonanwhere. |
As far as I am aware, I haven't seen any documentation of this api, just the blog post link which codophobia has on this repo, maybe you can forward them the blog link and see if they can close the issue? |
My telegram bot is deployed on Heroku. I always get a 403 Forbidden error when I try to get live matches info or access any links on
mapps.cricbuzz.com/cbzios/
. When I try to run locally everything works fine. Could it be that all Heroku IP addresses are blocked by the cricbuzz website? Any luck deploying your code on Heroku?The text was updated successfully, but these errors were encountered: