botasaurus icon indicating copy to clipboard operation
botasaurus copied to clipboard

Cloudlfare bypass doesnt work

Open kreethandsouza opened this issue 1 year ago • 10 comments

I just updated the package to latest version. before it was 3.2.7 and it worked fine which bypassed 9/10. but now it is bypassing only 1/10. not able to bypass cloudflare challenger

kreethandsouza avatar Mar 21 '24 05:03 kreethandsouza

Yes, the moment we connect to Chrome via Selenium, we are detected due to selenium automation noise.

Chetan11-dev avatar Mar 21 '24 11:03 Chetan11-dev

@Chetan11-dev I am actually pretty new in this selenium but still i am trying my level best to do it. What i did find is that there is a package called "DrissionPage" which bypasses the cloudflare. I am adding the repository here: https://github.com/g1879/DrissionPage the problem is that the package bypasses cloudflare only in HeadFull mode not headless. If you could understand how its underlaying layer works and integrate it in your package in headless mode, it would solve the problem of not bypassing cloudlfare in your package. You have done a spelndid work on "botasaurus". Still trying to understand the package. Thanks.

kreethandsouza avatar Mar 25 '24 05:03 kreethandsouza

I will look into in, Once I get the Time. Also, does it bypass the captcha version as well when visiting Cloudflare Captcha Page (https://www.g2.com/products/jenkins/reviews?page=5).

Chetan11-dev avatar Mar 25 '24 10:03 Chetan11-dev

@Chetan11-dev As the ammount i have tried, it didn't. I have changed proxies as well as headers but still didnt. it was working fine and bypassing till some point but recently it stopped.

kreethandsouza avatar Mar 26 '24 04:03 kreethandsouza

So, I guess a JS based Chrome Extension Solution should be more reliable, I am busy now, but will look into it in future.

Chetan11-dev avatar Mar 26 '24 11:03 Chetan11-dev

@Chetan11-dev Do you know that JS based chrome extension? it would be really useful for me. Thanks.

kreethandsouza avatar Mar 27 '24 09:03 kreethandsouza

So, I guess a JS based Chrome Extension Solution should be more reliable, I am busy now, but will look into it in future.

Can you give us some suggestions?

luckybk93 avatar Apr 10 '24 08:04 luckybk93

I'm thinking of a solution, using an extension to control the browser instead of selenium. But I don't know where to start

luckybk93 avatar Apr 10 '24 08:04 luckybk93

I will look into it once I am available. I will attempt to resolve it next month. So kindly check back at end of May.

Chetan11-dev avatar Apr 11 '24 12:04 Chetan11-dev

I will look into it once I am available. I will attempt to resolve it next month. So kindly check back at end of May.

Thanks! I'll wait

luckybk93 avatar Apr 12 '24 02:04 luckybk93

Please run the following commands:

python -m pip install bota botasaurus_api botasaurus_driver bota botasaurus-proxy-authentication botasaurus_server --upgrade

And read the documentation at https://github.com/omkarcloud/botasaurus.

Chetan11-dev avatar May 14 '24 17:05 Chetan11-dev