NobilityDeviant / Wcofun.com_Downloader

A java & Kotlin cartoon and anime downloader for https://www.wcofun.com/
26 stars 3 forks source link

Failed to find video player inside frame #18

Open Bubbasd opened 6 months ago

Bubbasd commented 6 months ago

org.openqa.selenium.TimeoutException: Expected condition failed: waiting for visibility of element located by By.id: anime-js-0 (tried for 10 second(s) with 1000 milliseconds interval) Build info: version: '4.11.0', revision: '040bc5406b' System info: os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_402' Driver info: org.openqa.selenium.firefox.FirefoxDriver Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 123.0, moz:accessibilityChecks: false, moz:buildID: 20240213221259, moz:debuggerAddress: 127.0.0.1:24771, moz:geckodriverVersion: 0.34.0, moz:headless: true, moz:platformVersion: 10.0, moz:processID: 1316, moz:profile: C:\Users\admin\AppData\Loca..., moz:shutdownTimeout: 60000, moz:webdriverClick: true, moz:windowless: false, pageLoadStrategy: normal, platformName: windows, proxy: Proxy(), se:cdp: ws://127.0.0.1:24771/devtoo..., se:cdpVersion: 85.0, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify} Session ID: at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:84) at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:230) at com.nobility.downloader.scraper.VideoDownloader$run$2.invokeSuspend(VideoDownloader.kt:175) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42) at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)

NobilityDeviant commented 6 months ago

Yes while working on the new version I have encountered this error as well. This is due to Cloudflare which isn't easy to bypass. I am trying to fix the issue, but there's no guarantee.