FallingLights / Teachable-dl

Course downloader for teachable platform written in python3 using selenium and yt-dlp
GNU Lesser General Public License v3.0
106 stars 27 forks source link

Not working in Chrome 115 #25

Closed hirowa closed 9 months ago

hirowa commented 11 months ago

In chrome 115, it gets stuck in Cloudflare Captcha

Thoxy67 commented 11 months ago

Hi @it4need and @hirowa, could you please review my pull request workaround to bypass Cloudflare on Chrome > 114 and let me know if it works for you as well? Your feedback would be greatly appreciated.

FallingLights commented 11 months ago

Thank you @Thoxy67 for the PR, hopefully it fixes this issue

Thoxy67 commented 11 months ago

Hey @it4need! 👋

Have you tried clicking on the captcha on the second tab that opens after the Cloudflare page is detected? ⚙️ Trying to validate the captcha on the first tab will trigger detection and result in a page reload with the same captcha.

Alternatively, you can manually open a new tab to validate the captcha. Just keep in mind that the first tab will always be detected. 🕵️‍♀️ After you resolve the captcha in the second tab, don't forget to refresh the login page on the first tab to continue with the process smoothly. 🔄

Also, make sure to update the library in the requirements.txt file to include the latest versions of the selenium and undetected-chrome libraries. This can help ensure compatibility and fix any potential issues with automation. 📝🔧

FallingLights commented 9 months ago

@Thoxy67, I can confirm that the PR is still functioning as expected. Admittedly, the interface can be a bit perplexing due to the dual-tab setup, but once you navigate through it, everything operates smoothly.