fysh711426 / UndetectedChromeDriver

GNU General Public License v3.0
166 stars 60 forks source link

bet365 detecting #42

Open mmbertasi opened 1 year ago

mmbertasi commented 1 year ago

Hello,

This has been super useful so thank you very much for your efforts. Very recently bet365.mx or bet365.com etc has begun detecting undetected chromedriver and I think it has something to do with the CDP runtime. For instance, if you go to the site in regular browser and then refresh with dev tools open the data is blocked. Is there anyway to mask/hide this? If you have a minute to test and have any other thoughts they are most welcome

fvzptr commented 1 year ago

I have the same problem too, since this morning I've been trying to debug the problem. The problem started quite recently, before sporadically now it seems to be difficult to overcome the obstacle. As an example, if it can be useful, at this link --> Link

if i open with a regular chrome i see this. regular

If instead I open with undetectedChromeDriver I see this. undetechromedriver

Chromedriver and Chrome are updated to the latest release available (111) but the problem is also encountered on previous versions. I tried to change fingerprint, disable webgl , change screensize etc .... I also tried automatisms such as mouse movements, clicks, opening new tabs. Nothing works.

Please help us thank so much

fysh711426 commented 1 year ago

https://github.com/ultrafunkamsterdam/undetected-chromedriver/issues/318 https://github.com/ultrafunkamsterdam/undetected-chromedriver/issues/611 This problem seems to have existed for a long time and has not been resolved.

liorskater commented 1 year ago

Hello and thanks for your driver ! bet365 it not working for me since 08-03-2023 They now detecting us

fvzptr commented 1 year ago

ultrafunkamsterdam/undetected-chromedriver#318 ultrafunkamsterdam/undetected-chromedriver#611 This problem seems to have existed for a long time and has not been resolved.

Okay. But it doesn't seem like the same problem to me. I do not log in. I Go to link match and find element . In a regular chrome work. But with undetectedchromedriver , from yesterday , not anymore. Does not load the odds grid.

liorskater commented 1 year ago

image I tried also the regular chrome driver , and i steel getting the same results.

"Sorry, there are no markets currently available in this category."

But If i try this page from regular chrome browser I get all the data but from any selenium (undected or ChromDriver()) i cannot see the data, bet365 somehow manage to block us from scrapping data. this is a very big problem for me.

https://www.bet365.com/#/AS/B16/

if you have any idea I will be happy to hear it, Thanks you

stavgan-yep commented 1 year ago

Yes, bet365 also stopped working for me, I noticed that if you open the second tab, then everything works on it. When I call the browser.SwitchTo().Window(browser.WindowHandles[1]) method, it stops working on the second tab(. Does anyone have any ideas?

image image

liorskater commented 1 year ago

Thanks i now try to play with Js functions, if i copy -> paste -> and press enter is work, i will try to mimic this behavior

‫בתאריך יום ו׳, 10 במרץ 2023 ב-22:46 מאת ‪stavgan‬‏ <‪ @.***‬‏>:‬

Yes, bet365 also stopped working for me, I noticed that if you open the second tab, then everything works on it. When I call the browser.SwitchTo().Window(browser.WindowHandles[1]) method, it stops working on the second tab(. Does anyone have any ideas?

[image: image] https://user-images.githubusercontent.com/52219468/224424682-436b5d1a-7150-44ca-8acb-e7e009dac277.png [image: image] https://user-images.githubusercontent.com/52219468/224424716-3c61a786-e5f8-4d82-860d-b5b5fd8318fc.png

— Reply to this email directly, view it on GitHub https://github.com/fysh711426/UndetectedChromeDriver/issues/42#issuecomment-1464448507, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACMMSIFZEFQQUMR7ICIIYP3W3OHJFANCNFSM6AAAAAAVVT3SNM . You are receiving this because you commented.Message ID: @.***>

natancordeiro commented 1 year ago

Does anyone know if you can use "subprocess.Popen"? With it you can open a chrome passing the parameter "--remote-debugging" to debug remotely. But I don't know how to implement this, I don't know if there's a way to open it on localhost: or something like that, if anyone knows if there's a way to do it this way, I left the idea.

Mattesanti10 commented 1 year ago

Has anyone found a solution?

cosmoras commented 1 year ago

Could you please make sure that all the settings and hints listed on the following article have been followed when trying to reproduce? PLEASE UPDATE IF SOMEBODY resolve it.

https://piprogramming.org/articles/How-to-make-Selenium-undetectable-and-stealth--7-Ways-to-hide-your-Bot-Automation-from-Detection-0000000017.html

CarachinoAlessio commented 1 year ago

Thanks i now try to play with Js functions, if i copy -> paste -> and press enter is work, i will try to mimic this behavior ‫בתאריך יום ו׳, 10 במרץ 2023 ב-22:46 מאת ‪stavgan‬‏ <‪ @.‬‏>:‬ Yes, bet365 also stopped working for me, I noticed that if you open the second tab, then everything works on it. When I call the browser.SwitchTo().Window(browser.WindowHandles[1]) method, it stops working on the second tab(. Does anyone have any ideas? [image: image] https://user-images.githubusercontent.com/52219468/224424682-436b5d1a-7150-44ca-8acb-e7e009dac277.png [image: image] https://user-images.githubusercontent.com/52219468/224424716-3c61a786-e5f8-4d82-860d-b5b5fd8318fc.png — Reply to this email directly, view it on GitHub <#42 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACMMSIFZEFQQUMR7ICIIYP3W3OHJFANCNFSM6AAAAAAVVT3SNM . You are receiving this because you commented.Message ID: @.>

Did you manage to make it working?