imsejin / lezhin-comics-downloader Goto Github PK
View Code? Open in Web Editor NEWπ₯ Downloader for lezhin comics
Home Page: https://www.lezhin.com
License: Apache License 2.0
π₯ Downloader for lezhin comics
Home Page: https://www.lezhin.com
License: Apache License 2.0
i just jumped right in without any knowledge about this, i did all the pre requirements but the cmc wont open.
I tried building the jar using javac targeting 1.8 on jdk 8, with maven package, since there is no instructions I figured this would be the way, the jar builded achieved the same size (160kb) but running it gives me
Could not find or load main class Entrypoint
Exception occurs
io.github.imsejin.lzcodl.common.exception.LoginFailureException: Failed to login: unrecognized error
at io.github.imsejin.lzcodl.core.LoginHelper.validate(LoginHelper.java:149)
at io.github.imsejin.lzcodl.core.LoginHelper.login(LoginHelper.java:59)
at io.github.imsejin.lzcodl.Application.main(Application.java:90)
could you help me pls?
This is the first time I've had this issue. It'll create a folder for the images but won't download them.
Command used: java -jar lezhin-comics-downloader-2.8.1.jar -l=en -n=sexercise_en -r=78~
Lezhin Comics Downloader v2.8.1 If you have any questions, contact me by 'https://github.com/ImSejin/lezhin-comics-downloader/issues' Starting ChromeDriver 98.0.4758.102 (273bf7ac8c909cde36982d27f66f3c70846a3718-refs/branch-heads/4758@{#1151}) on port 28224 Only local connections are allowed. Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe. ChromeDriver was started successfully. Feb 19, 2022 2:13:13 PM org.openqa.selenium.remote.ProtocolHandshake createSession INFO: Detected dialect: W3C Request login page: https://www.lezhin.com/en/login Successfully logged in: access token(90c5f346-b376-44b2-8340-47fe104146b6) Request comic page: https://www.lezhin.com/en/comic/sexercise_en
I got this error
org.openqa.selenium.StaleElementReferenceException: stale element reference: element is not attached to the page document
(Session info: headless chrome=96.0.4664.93)
For documentation on this error, please visit: https://www.seleniumhq.org/exceptions/stale_element_reference.html
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: 'XXX', ip: 'XXX', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_311'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 96.0.4664.93, chrome: {chromedriverVersion: 96.0.4664.35 (8df3babf8da8f..., userDataDir: C:\Users\User\AppData\Local...}, goog:chromeOptions: {debuggerAddress: localhost:56714}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:virtualAuthenticators: true}
Session ID: 70072de8a703deaba9563b9e6572b8dc
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:285)
at org.openqa.selenium.remote.RemoteWebElement.isDisplayed(RemoteWebElement.java:326)
at org.openqa.selenium.support.ui.ExpectedConditions$9.apply(ExpectedConditions.java:274)
at org.openqa.selenium.support.ui.ExpectedConditions$9.apply(ExpectedConditions.java:270)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:249)
at io.github.imsejin.lzcodl.core.Crawler.getNumOfImagesInEpisode(Crawler.java:183)
at io.github.imsejin.lzcodl.core.Downloader.downloadEpisode(Downloader.java:80)
at io.github.imsejin.lzcodl.core.Downloader.download(Downloader.java:69)
at io.github.imsejin.lzcodl.Application.main(Application.java:105)
Happen to some episodes from various series.
this is what im using and what im getting -
PS C:\Users\dvny> cd C:\Users\dvny\Documents\lezhih
PS C:\Users\dvny\Documents\lezhih> java -jar lezhin-comics-downloader-2.9.0.jar -l=en -n=jinx -r=1~7 -j
Lezhin Comics Downloader v2.9.0
If you have any questions, contact me by 'https://github.com/ImSejin/lezhin-comics-downloader/issues'
Starting ChromeDriver 108.0.5359.71 (1e0e3868ee06e91ad636a874420e3ca3ae3756ac-refs/branch-heads/5359@{#1016}) on port 61811
Only local connections are allowed.
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
ChromeDriver was started successfully.
Dec 13, 2022 11:43:28 AM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: W3C
Dec 13, 2022 11:43:28 AM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
WARNING: Unable to find an exact match for CDP version 108, so returning the closest version found: a no-op implementation
Dec 13, 2022 11:43:28 AM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
INFO: Unable to find CDP implementation matching 108.
Dec 13, 2022 11:43:28 AM 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.1.2
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.
Request login page: https://www.lezhin.com/en/login
Successfully logged in: access token(c446ff62-0504-4563-a668-944d15826238)
Request comic page: https://www.lezhin.com/en/comic/jinx
Exception occurs
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for visibility of element located by By.xpath: //main[@id='main' and @Class='lzCntnr lzCntnr--episode'] (tried for 15 second(s) with 500 milliseconds interval)
Build info: version: '4.1.2', revision: '9a5a329c5a'
System info: host: 'BENT0B0X', ip: '10.1.10.58', os.name: 'Windows 11', os.arch: 'amd64', os.version: '10.0', java.version: '19.0.1'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 108.0.5359.99, chrome: {chromedriverVersion: 108.0.5359.71 (1e0e3868ee06..., userDataDir: C:\Users\dvny\AppData\Local...}, goog:chromeOptions: {debuggerAddress: localhost:51515}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, proxy: Proxy(), se:cdp: ws://localhost:51515/devtoo..., se:cdpVersion: 108.0.5359.99, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:virtualAuthenticators: true}
Session ID: eb9a054f1939d7d217d0743dadd3ed1b
at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:138)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:231)
at io.github.imsejin.lzcodl.core.Crawler.getJson(Crawler.java:102)
at io.github.imsejin.lzcodl.Application.main(Application.java:90)
They probably Updated security ...
Hoping you can bypass it and Fix it... π
@ImSejin
I can't manage to open the jar file on the cmd, please help me
μλ νμΈμ.
μ΄ νλ‘κ·Έλ¨μ νλ² μ¬μ©ν΄λ³΄λ €λλ° μΌλ° λ©μΌ λ‘κ·ΈμΈλ§ μ§μνλ κ²μΌλ‘ νμΈνμ΅λλ€.
νΉμ μΌλ° λ‘κ·ΈμΈ λ§κ³ 'SNS κ³μ μΌλ‘ λ‘κ·ΈμΈ - λ€μ΄λ²λ‘ λ‘κ·ΈμΈ'λ μ§μ κ°λ₯νμ κ°μ?
μ²μμ κ°μ
ν λ μ무 μκ° μμ΄ λ€μ΄λ²λ‘ μ°λμ μμΌ°λλ° κ·Έλμ κ·Έλ°μ§ μ€νμ νλ©΄ λ‘κ·ΈμΈ μ€λ₯κ° λλ€μ.
κ°μ¬ν©λλ€.
I have setted up correctly using two different PCs and different O.S
I tried on windows 10 (AMD) with latest chrome version (didn't work) switched to another Win10 (Intel) and didn't work, tried downgrading chrome to 86.0.4240.75, didn't work, tried downgrading to 32bit version, also didn't work.
Last I tried on Ubuntu (AMD) and also had issues.
Windows LOG::
Starting ChromeDriver 86.0.4240.22 (398b0743353ff36fb1b82468f63a3a93b4e2e89e-refs/branch-heads/4240@{#378}) on port 11511 Only local connections are allowed. Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe. ChromeDriver was started successfully. nov 08, 2020 5:43:48 PM org.openqa.selenium.remote.ProtocolHandshake createSession INFORMAΓΔ±ES: Detected dialect: W3C Exception in thread "main" 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) at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:95) at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:272) at io.github.imsejin.lzcodl.core.LoginHelper.getAccessToken(LoginHelper.java:139) at io.github.imsejin.lzcodl.core.LoginHelper.login(LoginHelper.java:34) at io.github.imsejin.lzcodl.Application.main(Application.java:66) Caused by: org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//main[@id='main' and @class='lzCntnr lzCntnr--home']"} (Session info: headless chrome=86.0.4240.75) For documentation on this error, please visit: https://www.seleniumhq.org/exceptions/no_such_element.html Build info: version: 'unknown', revision: 'unknown', time: 'unknown' System info: host: 'DESKTOP-XXXXXX', ip: '192.168.0.19', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.8' Driver info: org.openqa.selenium.chrome.ChromeDriver Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 86.0.4240.75, chrome: {chromedriverVersion: 86.0.4240.22 (398b0743353ff..., userDataDir: C:\Users\DELL\AppData\Local...}, goog:chromeOptions: {debuggerAddress: localhost:49354}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:virtualAuthenticators: true} Session ID: 5a1ee69e88e639bf2072423c7d1fbb72 *** Element info: {Using=xpath, value=//main[@id='main' and @class='lzCntnr lzCntnr--home']} at jdk.internal.reflect.GeneratedConstructorAccessor7.newInstance(Unknown Source) at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490) at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187) at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122) at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49) at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158) at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:323) at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:428) at org.openqa.selenium.By$ByXPath.findElement(By.java:353) at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:315) at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:205) at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:201) at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:249)
Linux LOG:
Starting ChromeDriver 86.0.4240.22 (398b0743353ff36fb1b82468f63a3a93b4e2e89e-refs/branch-heads/4240@{#378}) on port 20857 Only local connections are allowed. Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe. ChromeDriver was started successfully. nov 08, 2020 5:31:42 PM org.openqa.selenium.remote.ProtocolHandshake createSession INFO: Detected dialect: W3C Exception in thread "main" 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) at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:95) at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:272) at io.github.imsejin.lzcodl.core.LoginHelper.getAccessToken(LoginHelper.java:139) at io.github.imsejin.lzcodl.core.LoginHelper.login(LoginHelper.java:34) at io.github.imsejin.lzcodl.Application.main(Application.java:66) Caused by: org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//main[@id='main' and @class='lzCntnr lzCntnr--home']"} (Session info: headless chrome=86.0.4240.183) For documentation on this error, please visit: https://www.seleniumhq.org/exceptions/no_such_element.html Build info: version: 'unknown', revision: 'unknown', time: 'unknown' System info: host: 'XXXXXX', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.4.0-52-generic', java.version: '11.0.9' Driver info: org.openqa.selenium.chrome.ChromeDriver Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 86.0.4240.183, chrome: {chromedriverVersion: 86.0.4240.22 (398b0743353ff..., userDataDir: /tmp/.com.google.Chrome.CuliBc}, goog:chromeOptions: {debuggerAddress: localhost:42289}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:virtualAuthenticators: true} Session ID: 50bbcec5403c798abe75ea7cafd9f8c4 *** Element info: {Using=xpath, value=//main[@id='main' and @class='lzCntnr lzCntnr--home']} at jdk.internal.reflect.GeneratedConstructorAccessor7.newInstance(Unknown Source) at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490) at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187) at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122) at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49) at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158) at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:323) at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:428) at org.openqa.selenium.By$ByXPath.findElement(By.java:353) at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:315) at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:205) at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:201) at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:249)
Downloader only supports when view style is webtoon, but not swipe style (example).
C:\Users\WT>java -jar lezhin-comics-downloader-3.0.0.jar -l=en -n=chainofyouth -r=22~22
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Starting ChromeDriver 108.0.5359.71 (1e0e3868ee06e91ad636a874420e3ca3ae3756ac-refs/branch-heads/5359@{#1016}) on port 18077
Only local connections are allowed.
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
ChromeDriver was started successfully.
Dec 15, 2022 8:15:34 AM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
WARNING: Unable to find an exact match for CDP version 108, so returning the closest version found: 105
chainofyouth ep.22 100% [========] 20/20 imgs (0:00:01 / 0:00:00) | 20.0 imgs/s
In the latest version the image downloaded is smaller than if extracted manually
Originally posted by @yimeji in #136 (comment)
Good morning to You all, @ImSejin and all the other Contributors of the projectπ.
The issue I'm about to expose -at the time of writing- is still "work in progress", that's, it hasn't yet involved all the titles published on LezhinUS. Starting a few days ago the pages downloaded are messed up.
There's no glitches or bugs into Your downloader, 'cause by opening Developer Tools on Chrome and/or Firefox and analyzing page's elements, the .webp images are "demolished" in this exact way (maybe they encoded images). I hope You can fix this awful mess, but I'm afraid it'll take a looong time.
Hello,
It seems like I can't even run the program in cmd, because all i get is the 'unable to access jarfile lezhin-comics-downloader-2.5.0.jar' first thing.
I'm on windows 7. I have the source files and the downloader.jar in the same folder, i installed the drivers for my chrome, and changed the config.ini file to match my lezhin account, have it in the folder, too. i downloaded and installed Java SE Development Kit 15 (JDK).
I add the 'java -jar lezhin-comics-downloader-2.5.0.jar -l=en -n=unknowncode', and it doesn't work.
I get an error, when I try to download:
Starting ChromeDriver 111.0.5563.19 (378a38865270d286695aeb86f190564911ef7bc2-refs/branch-heads/5563@{#251}) on port 8762 Only local connections are allowed. Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe. ChromeDriver was started successfully. Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class io.github.imsejin.dl.lezhin.browser.WebBrowser$SingletonLazyHolder at io.github.imsejin.dl.lezhin.browser.WebBrowser.getDriver(WebBrowser.java:129) at io.github.imsejin.dl.lezhin.browser.WebBrowser.quitIfInitialized(WebBrowser.java:151) at io.github.imsejin.dl.lezhin.Application.main(Application.java:65)
I run:
Ubuntu 22.04
java 17.0.5 2022-10-18 LTS
Java(TM) SE Runtime Environment (build 17.0.5+9-LTS-191)
Java HotSpot(TM) 64-Bit Server VM (build 17.0.5+9-LTS-191, mixed mode, sharing)
Can you help me, please?
Thanks
Forkirara
OS: Windows 10 21H2 (Build 19044.1526)
java -version
:
openjdk version "17.0.2" 2022-01-18
OpenJDK Runtime Environment Temurin-17.0.2+8 (build 17.0.2+8)
OpenJDK 64-Bit Server VM Temurin-17.0.2+8 (build 17.0.2+8, mixed mode, sharing)
Command used: java.exe -jar lezhin-comics-downloader-2.8.1.jar -l=en -n=keystone -r=~2
Debug log:
2022-02-16 15:08:35.398 [INFO ] 84 --- [main] i.g.i.l.Application#main : Lezhin Comics Downloader v2.8.1
2022-02-16 15:08:35.405 [INFO ] 86 --- [main] i.g.i.l.Application#main : If you have any questions, contact me by 'https://github.com/ImSejin/lezhin-comics-downloader/issues'
2022-02-16 15:08:35.406 [DEBUG] 87 --- [main] i.g.i.l.Application#main : Argument: Arguments(language=en, comicName=keystone, episodeRange=~2, imageFormat=webp, debugging=true)
Starting ChromeDriver 98.0.4758.102 (273bf7ac8c909cde36982d27f66f3c70846a3718-refs/branch-heads/4758@{#1151}) on port 37770
Only local connections are allowed.
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
ChromeDriver was started successfully.
Feb 16, 2022 3:08:37 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: W3C
2022-02-16 15:08:37.254 [INFO ] 91 --- [main] i.g.i.l.c.LoginHelper#tryLogin : Request login page: https://www.lezhin.com/en/login
2022-02-16 15:08:41.866 [DEBUG] 96 --- [main] i.g.i.l.c.LoginHelper#tryLogin : Wait up to 15 sec for login element to be rendered
2022-02-16 15:08:41.985 [DEBUG] 103 --- [main] i.g.i.l.c.LoginHelper#tryLogin : Send username:
2022-02-16 15:08:42.196 [DEBUG] 110 --- [main] i.g.i.l.c.LoginHelper#tryLogin : Send password:
2022-02-16 15:08:42.371 [DEBUG] 116 --- [main] i.g.i.l.c.LoginHelper#tryLogin : Try to login
2022-02-16 15:08:42.654 [DEBUG] 136 --- [main] i.g.i.l.c.LoginHelper#validate : Wait up to 10 sec for main page to be rendered
2022-02-16 15:08:45.603 [INFO ] 215 --- [main] i.g.i.l.c.LoginHelper#getAccessToken : Successfully logged in: access token( )
2022-02-16 15:08:45.608 [DEBUG] 79 --- [main] i.g.i.l.core.Crawler#getJson : Change locale setting: https://www.lezhin.com/en/locale/en-US?locale=en-US
2022-02-16 15:08:47.615 [INFO ] 84 --- [main] i.g.i.l.core.Crawler#getJson : Request comic page: https://www.lezhin.com/en/comic/keystone
2022-02-16 15:08:49.797 [DEBUG] 96 --- [main] i.g.i.l.core.Crawler#getJson : Wait up to 15 sec for episode list to be rendered
2022-02-16 15:08:50.033 [DEBUG] 167 --- [main] i.g.i.l.Application#createDirectory : Create directory: D:\Application\lezhin-dl\L_The Keystone Romantic Combination - NETCOMICS, TEAL, Teava, Yuni Lim
2022-02-16 15:08:50.041 [DEBUG] 174 --- [main] i.g.i.l.core.Crawler#getNumOfImagesInEpisode : Request episode page: https://www.lezhin.com/en/comic/keystone/1
2022-02-16 15:08:53.631 [DEBUG] 181 --- [main] i.g.i.l.core.Crawler#getNumOfImagesInEpisode : Wait up to 15 sec for images to be rendered
2022-02-16 15:08:57.600 [DEBUG] 174 --- [main] i.g.i.l.core.Crawler#getNumOfImagesInEpisode : Request episode page: https://www.lezhin.com/en/comic/keystone/2
2022-02-16 15:08:58.873 [DEBUG] 181 --- [main] i.g.i.l.core.Crawler#getNumOfImagesInEpisode : Wait up to 15 sec for images to be rendered
No images got downloaded (only directories are created). I tried with other series' chapters (free and paid) and it has the same problem. During debug the pages loaded fine but it just skips over downloading the images for some reason...
Hi,
Got this error today.
Starting ChromeDriver 111.0.5563.64 (c710e93d5b63b7095afe8c2c17df34408078439d-refs/branch-heads/5563@{#995}) on port 17066
Only local connections are allowed.
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
ChromeDriver was started successfully.
Mar 10, 2023 4:11:06 AM org.openqa.selenium.remote.http.WebSocket$Listener onError
WARNING: Invalid Status code=403 text=Forbidden
java.io.IOException: Invalid Status code=403 text=Forbidden
at org.asynchttpclient.netty.handler.WebSocketHandler.abort(WebSocketHandler.java:92)
at org.asynchttpclient.netty.handler.WebSocketHandler.handleRead(WebSocketHandler.java:118)
at org.asynchttpclient.netty.handler.AsyncHttpClientHandler.channelRead(AsyncHttpClientHandler.java:78)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:436)
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:336)
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:323)
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:444)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:280)
at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
at io.netty.handler.logging.LoggingHandler.channelRead(LoggingHandler.java:280)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:1589)
Exception in thread "main" java.lang.ExceptionInInitializerError
at io.github.imsejin.dl.lezhin.browser.WebBrowser.run(WebBrowser.java:140)
at io.github.imsejin.dl.lezhin.process.impl.LoginProcessor.process(LoginProcessor.java:59)
at io.github.imsejin.dl.lezhin.process.impl.LoginProcessor.process(LoginProcessor.java:39)
at io.github.imsejin.dl.lezhin.Application.main(Application.java:59)
Caused by: org.openqa.selenium.remote.http.ConnectionFailedException: Unable to establish websocket connection to http://localhost:50102/devtools/browser/1027f9d1-fee4-49f1-8005-99804376b53c
Build info: version: '4.6.0', revision: '79f1c02ae20'
System info: os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '19.0.1'
Driver info: driver.version: ChromeDriver
at org.openqa.selenium.remote.http.netty.NettyWebSocket.(NettyWebSocket.java:102)
at org.openqa.selenium.remote.http.netty.NettyWebSocket.lambda$create$3(NettyWebSocket.java:128)
at org.openqa.selenium.remote.http.netty.NettyClient.openSocket(NettyClient.java:107)
at org.openqa.selenium.devtools.Connection.(Connection.java:77)
at org.openqa.selenium.chromium.ChromiumDriver.lambda$new$2(ChromiumDriver.java:116)
at java.base/java.util.Optional.map(Optional.java:260)
at org.openqa.selenium.chromium.ChromiumDriver.(ChromiumDriver.java:114)
at org.openqa.selenium.chrome.ChromeDriver.(ChromeDriver.java:81)
at org.openqa.selenium.chrome.ChromeDriver.(ChromeDriver.java:70)
at io.github.imsejin.dl.lezhin.browser.WebBrowser$SingletonLazyHolder.(WebBrowser.java:125)
... 4 more
λλΆμ μ μΌ μ’μνλ μν νΈνκ² λ°μμ΅λλ€. κ°μ¬λ립λλ€.
νλ§€κ° μ’ λ£λμ κ²μμ΄ μλλ μνμ μ½μ΄μ€μ§ λͺ»νλ κ² κ°μλ° μ΄λΆλΆμ ν΄κ²°μ΄ μ΄λ €μΈκΉμ?
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
com.squareup.retrofit2:converter-scalars
, com.squareup.retrofit2:converter-gson
, com.squareup.retrofit2:retrofit
)These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
org.seleniumhq.selenium:selenium-http-jdk-client
, org.seleniumhq.selenium:selenium-java
).github/workflows/codeql.yml
actions/checkout v4
github/codeql-action v3
github/codeql-action v3
github/codeql-action v3
.github/workflows/create-release.yml
actions/checkout v4
actions/setup-java v4
ncipollo/release-action v1
.github/workflows/maven-build.yml
actions/checkout v4
actions/setup-java v4
codecov/codecov-action v3
pom.xml
io.github.imsejin:common-utils 0.14.0
commons-cli:commons-cli 1.6.0
me.tongfei:progressbar 0.10.0
com.squareup.retrofit2:retrofit 2.9.0
com.squareup.retrofit2:converter-gson 2.9.0
com.squareup.retrofit2:converter-scalars 2.9.0
org.seleniumhq.selenium:selenium-java 4.11.0
org.seleniumhq.selenium:selenium-http-jdk-client 4.11.0
org.reflections:reflections 0.10.2
ch.qos.logback:logback-classic 1.4.12
org.slf4j:slf4j-api 2.0.13
org.projectlombok:lombok 1.18.34
org.mapstruct:mapstruct 1.5.5.Final
org.jetbrains:annotations 24.1.0
org.junit.jupiter:junit-jupiter-engine 5.10.3
org.junit.jupiter:junit-jupiter-params 5.10.3
org.assertj:assertj-core 3.24.2
org.spockframework:spock-core 2.3-groovy-4.0
org.mockito:mockito-inline 5.2.0
org.apache.maven.plugins:maven-compiler-plugin 3.13.0
org.projectlombok:lombok 1.18.34
org.projectlombok:lombok-mapstruct-binding 0.2.0
org.mapstruct:mapstruct-processor 1.5.5.Final
org.apache.maven.plugins:maven-surefire-plugin 3.3.0
org.codehaus.gmavenplus:gmavenplus-plugin 3.0.2
org.apache.maven.plugins:maven-jar-plugin 3.3.0
org.apache.maven.plugins:maven-shade-plugin 3.6.0
org.jacoco:jacoco-maven-plugin 0.8.11
.mvn/wrapper/maven-wrapper.properties
maven 3.9.6
maven-wrapper 3.2.0
μ λ°μ΄νΈ ν΄μ£Όμ λλΆμ λ¬Έμ μμ΄ μ μ°κ³ μμ΅λλ€! λ€μ νλ² κ°μ¬λ립λλ€!!
λ€λ§ μμ₯νκ³ μλ μ±
μ μ€μ κ°λ‘ ν΄μλκ° 1080μΈ λ°λ©΄μ λ€μ΄ κ²°κ³Όλ¬Όμ 720μΈ λ¬Έμ κ° μλλ°μ.
μλ§ μ΄λ―Έμ§ λ§ν¬μ purchased λΆλΆμ΄ trueλ‘ λμ΄μΌ νλλ° λ€μ΄μ falseλ‘ λμ΄ μμ΄ μ νλ νμ§λ‘ λ°μ μ§λ κ² κ°μ΅λλ€.
io.github.imsejin.lzcodl.common.constant.URIs
>>
public interface URIResolver {
URI resolve(URIs uris, Languages languages);
}
public class KoreanURIResolver implements URIResolver {
/* ... */
}
public class EnglishURIResolver implements URIResolver {
/* ... */
}
public class JapaneseURIResolver implements URIResolver {
/* ... */
}
(Refer to #92)
I'm having trouble using the downloader. If somebody could help, that would be greatly appreciated. Here's the output:
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
ChromeDriver was started successfully.
Apr 29, 2021 7:49:35 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: W3C
Request login page: https://www.lezhin.com/en/login
Successfully logged in: access token(90c5f346-b376-44b2-8340-47fe104146b6)
Request comic page: https://www.lezhin.com/en/comic/sexercise
Exception in thread "main" org.openqa.selenium.TimeoutException: Expected condition failed: waiting for visibility of element located by By.xpath: //main[@id='main' and @Class='lzCntnr lzCntnr--episode'] (tried for 15 second(s) with 500 milliseconds interval)
at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:95)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:272)
at io.github.imsejin.lzcodl.core.Crawler.getJson(Crawler.java:79)
at io.github.imsejin.lzcodl.Application.main(Application.java:81)
Caused by: org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//main[@id='main' and @Class='lzCntnr lzCntnr--episode']"}
(Session info: headless chrome=89.0.4389.128)
For documentation on this error, please visit: https://www.seleniumhq.org/exceptions/no_such_element.html
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: '[....]', ip: '[....], os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.8.0_291'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 89.0.4389.128, chrome: {chromedriverVersion: 89.0.4389.23 (61b08ee2c5002..., userDataDir: C:\Users\NICKNA~1\AppData\L...}, goog:chromeOptions: {debuggerAddress: localhost:1645}, javascriptEnabled: true, networkConnectionE
nabled: false, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:largeBlob: true, webauth
n:virtualAuthenticators: true}
Session ID: 2a3a55cfdf1420700a2947f9107a57b0
*** Element info: {Using=xpath, value=//main[@id='main' and @Class='lzCntnr lzCntnr--episode']}
at sun.reflect.GeneratedConstructorAccessor11.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:323)
at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:428)
at org.openqa.selenium.By$ByXPath.findElement(By.java:353)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:315)
at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:205)
at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:201)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:249)
... 2 more
Help, please, to understand what the problem is. When you run the script, a chrome window opens in incognito mode and nothing else happens.
PS C:\Users\Alle\Desktop\Lezhin> java -jar lezhin-comics-downloader-3.1.0.jar -l=ko -n=bush -r=109 -j -s -d
Starting ChromeDriver 115.0.5790.170 (cc0d30c2ca5577520c8646671513241faa0bc105-refs/branch-heads/5790@{#1923}) on port 29133
Only local connections are allowed.
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
ChromeDriver was started successfully.
ΡΡΡ. 14, 2023 8:40:37 PM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
WARNING: Unable to find an exact match for CDP version 115, so returning the closest version found: 113
2023-08-14 20:40:38.008 β[34m[INFO ]β[0;39m β[35m93 β[0;39m --- [main] β[36mi.g.i.d.l.p.i.LoginProcessor#gotoLoginPageβ[0;39m : Request login page: https://www.lezhin.com/ko/login
2023-08-14 20:41:18.930 β[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
2023-08-14 20:41:34.183 β[1;31m[ERROR]β[0;39m β[35m65 β[0;39m --- [main] β[36mi.g.i.d.l.Application#mainβ[0;39m : Failed to perform a process
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for visibility of element located by By.xpath: //form[@id='email' and contains(@action, '/login') and @method='post'] (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: '11.0.19'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 115.0.5790.171, chrome: {chromedriverVersion: 115.0.5790.170 (cc0d30c2ca5..., userDataDir: C:\Users\Alle\AppData\Loc...}, goog:chromeOptions: {debuggerAddress: localhost:4108}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: windows, proxy: Proxy(), se:cdp: ws://localhost:4108/devtool..., se:cdpVersion: 115.0.5790.171, 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: 73a8123261665a205923fdbe01424692
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.waitForRenderingLoginPage(LoginProcessor.java:100)
at io.github.imsejin.dl.lezhin.process.impl.LoginProcessor.process(LoginProcessor.java:65)
at io.github.imsejin.dl.lezhin.process.impl.LoginProcessor.process(LoginProcessor.java:39)
at io.github.imsejin.dl.lezhin.Application.main(Application.java:61)
if (imageCount == null) {
throw new ImageCountNotFoundException("Failed to get image count of episode[{}]: imageCountMap={}",
episode, this.imageCountMap);
}
Replace {}
with %s
.
The url for the english version of Lezhin seems to have been changed to: https://www.lezhinus.com/en
I've a bit of a weird question.
The webtoon pages are downloaded with a certain size: in the case of the one I did the first test with, 720 px).
Yet, I found the same pages of the same manhwa uploaded by an anonymous uploader on another web platform with a width of 1080 px and even 1242 px. I took another manhwa, and I noticed the same discrepancy: the pages are available at 720 px wide on Lezhin, at 1280 px on another web platform. And the sharpness isn't affected, quite the opposite!
I suspected that WEBP format was the culprit, but even adding the -j
or -jpg
argument (as wrote in #42) the output format doesn't change.
How can I download the original (not shrunken) pages' size?
Is there some trick and/or argument to obtain HD format?
Thank You.
Hello, how do I use lezhin downloader java? I already make a folder that consists of java downloader, chromedriver, and config.ini. but it seems I can't access it
Is there anyway to fix how the images are downloaded?
JDK 19λ²μ μ€μΉνκ³ chromedriver.exe, config.ini, lezhin-comics-downloader-3.0.2.jar λͺ¨λ ν ν΄λμ λμ΅λλ€.
ν¬λ‘¬ λ²μ 108.0.5359.125, ν¬λ‘¬λλΌμ΄λ² λ²μ 108.0.5359.71μΈλ° cmdμ΄μ΄μ μ½λ μ λ ₯νλ©΄
WARNING: Unable to find an exact match for CDP version 108, so returning the closest version found: 105 Request login page: https://www.lezhin.com/ko/login 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:59) 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)
μ΄λ κ² λ¨λλ° λκ° λ¬Έμ μΈκ°μ?
Lezhin Comics Downloader v2.8.1 If you have any questions, contact me by 'https://github.com/ImSejin/lezhin-comics-downloader/issues' Starting ChromeDriver 91.0.4472.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}) on port 1582 Only local connections are allowed. Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe. ChromeDriver was started successfully. 7μ 01, 2021 1:20:49 μ€ν org.openqa.selenium.remote.ProtocolHandshake createSession μ 보: Detected dialect: W3C Request login page: https://www.lezhin.com/ko/login Exception occurs 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 10 second(s) with 500 milliseconds interval) at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:95) at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:272) at io.github.imsejin.lzcodl.core.LoginHelper.validate(LoginHelper.java:138) at io.github.imsejin.lzcodl.core.LoginHelper.login(LoginHelper.java:59) at io.github.imsejin.lzcodl.Application.main(Application.java:90) Caused by: org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//main[@id='main' and @class='lzCntnr lzCntnr--home']"} (Session info: headless chrome=91.0.4472.124) For documentation on this error, please visit: https://www.seleniumhq.org/exceptions/no_such_element.html Build info: version: 'unknown', revision: 'unknown', time: 'unknown' System info: host: 'DESKTOP-A31BF7Q', ip: '192.168.0.7', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_291' Driver info: org.openqa.selenium.chrome.ChromeDriver Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 91.0.4472.124, chrome: {chromedriverVersion: 91.0.4472.101 (af52a90bf870..., userDataDir: C:\Users\dobby\AppData\Loca...}, goog:chromeOptions: {debuggerAddress: localhost:50143}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:largeBlob: true, webauthn:virtualAuthenticators: true} Session ID: b7dbe4f4a6be045f6e4668c5a97b7bfd *** Element info: {Using=xpath, value=//main[@id='main' and @class='lzCntnr lzCntnr--home']} at sun.reflect.GeneratedConstructorAccessor11.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187) at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122) at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49) at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158) at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:323) at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:428) at org.openqa.selenium.By$ByXPath.findElement(By.java:353) at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:315) at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:205) at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:201) at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:249) ... 3 common frames omitted
μ μ΄λ°κ±ΈκΉμγ
γ
μ λ²μ νμ λ μ λμλλ°...κ°μκΈ° μλλ€μ
I have config.ini and the jar file in the same folder. I have also written down my username (email) and password.
Getting this error: The file 'config.ini' or the section 'account' does not exist. What am I doing wrong?
After succes to login nothing happens, no error, nothing, it just finish the process without any download, the folder is created with nothing inside on it.
Does it work on free episodes? I tried to download https://www.lezhin.com/en/comic/gday with -r=~5 which are the free episodes.
Nothing happens.
Windows 10
λ°λ‘ jpg λ‘ λ€μ΄λ°μ μ μλμ? Can I download to jpg?
μ΄μ κΉμ§ μ€λ₯μμ΄ λ€μ΄ νμλλ° μ€λ ν΄λΉ μ€λ₯κ° λΉλλ€.
Exception occurs
java.lang.RuntimeException: java.net.UnknownHostException: cdn.lezhin.com
at io.github.imsejin.common.util.JsonUtils.readJsonFromUrl(JsonUtils.java:67)
at io.github.imsejin.lzcodl.core.Downloader.getNumOfImagesInEpisode(Downloader.java:127)
at io.github.imsejin.lzcodl.core.Downloader.downloadEpisode(Downloader.java:79)
at io.github.imsejin.lzcodl.core.Downloader.download(Downloader.java:69)
at io.github.imsejin.lzcodl.Application.main(Application.java:105)
Caused by: java.net.UnknownHostException: cdn.lezhin.com
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.URL.openStream(Unknown Source)
at io.github.imsejin.common.util.JsonUtils.readJsonFromUrl(JsonUtils.java:64)
... 4 common frames omitted
μ
λ ₯ν λͺ
λ Ήμ΄λ java -jar lezhin-comics-downloader-2.8.1.jar -l=ko -n=immortaldays -r=1~2 -j μ
λλ€
κ°μ μνμ μ΄μ λ€μ΄λ‘λ νμ λλ μ΄λ° μ€λ₯κ° λ¨μ§ μμμ΅λλ€!
Starting ChromeDriver 108.0.5359.71 (1e0e3868ee06e91ad636a874420e3ca3ae3756ac-refs/branch-heads/5359@{#1016}) on port 6646
Only local connections are allowed.
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
ChromeDriver was started successfully.
???. 29, 2022 1:46:30 AM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
WARNING: Unable to find an exact match for CDP version 108, so returning the closest version found: 105
Request login page: https://www.lezhin.com/ko/login
Request comic page: /ko/comic/sexy_wife
Failed to perform a process
java.lang.NullPointerException: Cannot invoke "java.lang.Integer.intValue()" because the return value of "java.util.Map.get(Object)" is null
at io.github.imsejin.dl.lezhin.process.impl.DownloadProcessor$KoreanImpl.getImageCountOfEpisode(DownloadProcessor.java:167)
at io.github.imsejin.dl.lezhin.process.impl.DownloadProcessor.process(DownloadProcessor.java:98)
at io.github.imsejin.dl.lezhin.process.impl.DownloadProcessor.process(DownloadProcessor.java:66)
at io.github.imsejin.dl.lezhin.Application.main(Application.java:59)
OS: Windows 10 64-bit
java -version
:
java version "18" 2022-03-22
Java(TM) SE Runtime Environment (build 18+36-2087)
Java HotSpot(TM) 64-Bit Server VM (build 18+36-2087, mixed mode, sharing)
Version of lezhin-comics-downloader used: v2.9.0 (latest).
Command used: C:\Users\Utente\Downloads\Lezhin Comics Downloader v2.9.0>java -jar lezhin-comics-downloader.jar -l=en -n=onesmallstep -r=1~2 -j
Results:
C:\Users\Utente\Downloads\Lezhin Comics Downloader v2.9.0>java -jar lezhin-comics-downloader.jar -l=en -n=onesmallstep -r=1~2 -j
Lezhin Comics Downloader v2.9.0
If you have any questions, contact me by 'https://github.com/ImSejin/lezhin-comics-downloader/issues'
Starting ChromeDriver 107.0.5304.62 (1eec40d3a5764881c92085aaee66d25075c159aa-refs/branch-heads/5304@{#942}) on port 60004
Only local connections are allowed.
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
ChromeDriver was started successfully.
nov 04, 2022 8:01:17 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: W3C
nov 04, 2022 8:01:17 PM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
WARNING: Unable to find an exact match for CDP version 107, so returning the closest version found: a no-op implementation
nov 04, 2022 8:01:17 PM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
INFO: Unable to find CDP implementation matching 107.
nov 04, 2022 8:01:17 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.1.2` 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.
Request login page: https://www.lezhin.com/en/login
Successfully logged in: access token(a3d4566d-281c-455b-ae24-bc6ba4571dbc)
Request comic page: https://www.lezhin.com/en/comic/onesmallstep
onesmallstep ep.1 0% [> ] 0/68 imgs (0:00:01 / ?) | ,0 imgs/s
onesmallstep ep.2 0% [> ] 0/80 imgs (0:00:01 / ?) | ,0 imgs/s
C:\Users\Utente\Downloads\Lezhin Comics Downloader v2.9.0>
The above screen has always been like this and Your downloader has always worked perfectly until October 31st. I also specify that the downloader has already successfully extracted those chapters, as well as the following one; I also tried with already paid lezhin-comics' chapters.
In all cases, no images got downloaded; only the directories are createdπ°.
Hello ImSejin, I also got this login error, any idea what's the problem?
Originally posted by @furosty in #34 (comment)
This is something that happen prior when the downloader still works that I forgot to report.
This happen on korean site.
Failed to perform a process
java.lang.NullPointerException: Cannot invoke "java.lang.Integer.intValue()" because the return value of "java.util.Map.get(Object)" is null
at io.github.imsejin.dl.lezhin.process.impl.DownloadProcessor$KoreanImpl.getImageCountOfEpisode(DownloadProcessor.java:167)
at io.github.imsejin.dl.lezhin.process.impl.DownloadProcessor.process(DownloadProcessor.java:98)
at io.github.imsejin.dl.lezhin.process.impl.DownloadProcessor.process(DownloadProcessor.java:66)
at io.github.imsejin.dl.lezhin.Application.main(Application.java:59)
Hi Im Sejin,
My Lezhin login fails and I think it is because my Lezhin account has a different website address than your .jar file. Your .jar file is attempting to login at:
https://www.lezhin.com/en/login
but my account is at:
https://www.lezhinus.com/en/login
Is there a different .jar file for the lezhinus.com login or is there a way to change this address in the 2.7.0 jar file you have provided?
Thank you so much!
lionbuoy
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.