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

Access Denied #14

Open
srinivasgiduthuri opened this issue Jul 5, 2022 · 6 comments
Open

Access Denied #14

srinivasgiduthuri opened this issue Jul 5, 2022 · 6 comments

Comments

@srinivasgiduthuri
Copy link

Whenever it tries to open the dosa link, it is showing access denied page. Any fix for this?

@2e0byo
Copy link
Owner

2e0byo commented Jul 5, 2022

Looks like they've updated the page to detect us. Unfortunately YADC is no longer under active support. You could try using undetected_chromedriver, but you'd likely need to do some work on it.

Unless anyone PRs a working version, I guess this might be the end of an era...

@MabezDev
Copy link

You could try using undetected_chromedriver

Is this (partially?) implemented in the https://github.com/2e0byo/YADC/blob/master/yadc/undetected_browser.py file? If so would it be possible to outline how to use it instead of the default chromedriver? Happy to hack on this and PR the changes if I get it working :).

@2e0byo
Copy link
Owner

2e0byo commented Dec 30, 2022

IIRC---it's been a while---you should be able to import the UndetectedBrowser or UndetectedTorBrowser instead of Browser; but I have no idea if it actually works any more (things change fast in this space). At one point tor was also blocked, so if you go this route you may need a vpn if you don't want your ip to get blacklisted.

I don't have the time to maintain this properly any more, so if you get a fork running we might consider deprecating this version in favour of yours.

@AnthonyZJiang
Copy link

I can confirm Tor is blocked. Buster also no longer works. UA seems to trigger detection too, so I had to delete the UA code. Clear your Chrome cookie, the script should work for 2-3 hours then you get detected and access denied.

@devopslondon2021
Copy link

hey @tmxkn1

Ran into the same issue.
I tried a way to refresh the booking page to check the dates but after an hour or so my request to the website was blocked.

Not sure if that is because of a long session or the same IP refreshing the page for too long or something else.

Let me know if you were able to solve the issue.

@luqman-hussain
Copy link

@devopslondon2021 would you mind providing a zip of your current source. The current version of yadc isnt working for me.

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

6 participants