Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing to download with new lezhin version #251

Open
pechato opened this issue Mar 22, 2024 · 3 comments
Open

Failing to download with new lezhin version #251

pechato opened this issue Mar 22, 2024 · 3 comments
Labels
🗑 stale Issuer doesn't give a feedback for a longtime

Comments

@pechato
Copy link

pechato commented Mar 22, 2024

Lezhin downloader does not seem to work anymore.

I installed everything properly with the latest version, as I used to do.
In debug mode, login was ok, yet in the trace, login failed.

io.github.imsejin.dl.lezhin.exception.LoginException: Failed to login
at io.github.imsejin.dl.lezhin.process.impl.LoginProcessor.validate(LoginProcessor.java:135)
at io.github.imsejin.dl.lezhin.process.impl.LoginProcessor.process(LoginProcessor.java:80)
at io.github.imsejin.dl.lezhin.process.impl.LoginProcessor.process(LoginProcessor.java:39)
at io.github.imsejin.dl.lezhin.Application.main(Application.java:61)
Caused by: org.openqa.selenium.TimeoutException: Expected condition failed: waiting for visibility of element located by By.xpath:

Maybe it is due to the change in website interface?

Olivier


FULL LOG

D:\OneDrive\Téléchargement\Lezhin>java -jar lezhin-comics-downloader-3.1.0.jar -l=en -n=loveillusion -d
Starting ChromeDriver 123.0.6312.58 (6b4b19e9dfbb93aa414dc045bd445287977d8d7a-refs/branch-heads/6312_46@{#3}) on port 46851
Only local connections are allowed.
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
ChromeDriver was started successfully.
mars 22, 2024 7:16:04 PM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
WARNING: Unable to find CDP implementation matching 123
mars 22, 2024 7:16:04 PM org.openqa.selenium.chromium.ChromiumDriver lambda$new$3
WARNING: Unable to find version of CDP to use for . You may need to include a dependency on a specific version of the CDP using something similar to org.seleniumhq.selenium:selenium-devtools-v86:4.9.1 where the version ("v86") matches the version of the chromium-based browser you're using and the version number of the artifact is the same as Selenium's.
2024-03-22 19:16:04.799 ←[34m[INFO ]←[0;39m ←[35m93 ←[0;39m --- [main] ←[36mi.g.i.d.l.p.i.LoginProcessor#gotoLoginPage←[0;39m : Request login page: https://www.lezhinus.com/en/login
2024-03-22 19:16:08.362 ←[39m[DEBUG]←[0;39m ←[35m98 ←[0;39m --- [main] ←[36mi.g.i.d.l.p.i.LoginProcessor#waitForRenderingLoginPage←[0;39m : Wait up to 15 sec for login element to be rendered
2024-03-22 19:16:08.419 ←[39m[DEBUG]←[0;39m ←[35m105←[0;39m --- [main] ←[36mi.g.i.d.l.p.i.LoginProcessor#inputUsername←[0;39m : Send username: [email protected]
2024-03-22 19:16:08.586 ←[39m[DEBUG]←[0;39m ←[35m114←[0;39m --- [main] ←[36mi.g.i.d.l.p.i.LoginProcessor#inputPassword←[0;39m : Send password: k***********
2024-03-22 19:16:08.720 ←[39m[DEBUG]←[0;39m ←[35m122←[0;39m --- [main] ←[36mi.g.i.d.l.p.i.LoginProcessor#submit←[0;39m : Try to login
2024-03-22 19:16:09.087 ←[39m[DEBUG]←[0;39m ←[35m130←[0;39m --- [main] ←[36mi.g.i.d.l.p.i.LoginProcessor#validate←[0;39m : Wait up to 15 sec for main page to be rendered
2024-03-22 19:16:24.103 ←[1;31m[ERROR]←[0;39m ←[35m65 ←[0;39m --- [main] ←[36mi.g.i.d.l.Application#main←[0;39m : Failed to perform a process
io.github.imsejin.dl.lezhin.exception.LoginException: Failed to login
at io.github.imsejin.dl.lezhin.process.impl.LoginProcessor.validate(LoginProcessor.java:135)
at io.github.imsejin.dl.lezhin.process.impl.LoginProcessor.process(LoginProcessor.java:80)
at io.github.imsejin.dl.lezhin.process.impl.LoginProcessor.process(LoginProcessor.java:39)
at io.github.imsejin.dl.lezhin.Application.main(Application.java:61)
Caused by: org.openqa.selenium.TimeoutException: Expected condition failed: waiting for visibility of element located by By.xpath: //main[@id='main' and @Class='lzCntnr lzCntnr--home'] (tried for 15 second(s) with 500 milliseconds interval)
Build info: version: '4.9.1', revision: 'eb2032df7f'
System info: os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '20.0.2'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 123.0.6312.58, chrome: {chromedriverVersion: 123.0.6312.58 (6b4b19e9dfbb..., userDataDir: D:\Utilisateurs\Olivier\App...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:6987}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: windows, proxy: Proxy(), se:cdp: ws://localhost:6987/devtool..., se:cdpVersion: 123.0.6312.58, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
Session ID: a7db504a1c3ba6ab68bbaf5d856fb575
at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:87)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:231)
at io.github.imsejin.dl.lezhin.browser.WebBrowser.waitForVisibilityOfElement(WebBrowser.java:223)
at io.github.imsejin.dl.lezhin.process.impl.LoginProcessor.validate(LoginProcessor.java:131)
... 3 common frames omitted

D:\OneDrive\Téléchargement\Lezhin>

@redjajaggg
Copy link

I faced the same error. Have you found the way to fix it yet?

@rval1994
Copy link

I have the same error. Is there no fix coming?

Copy link

stale bot commented Sep 15, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the 🗑 stale Issuer doesn't give a feedback for a longtime label Sep 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🗑 stale Issuer doesn't give a feedback for a longtime
Projects
None yet
Development

No branches or pull requests

3 participants