Open srinivasgiduthuri opened 2 years ago
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...
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 :).
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.
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.
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.
@devopslondon2021 would you mind providing a zip of your current source. The current version of yadc isnt working for me.
Whenever it tries to open the dosa link, it is showing access denied page. Any fix for this?