Xonshiz / comic-dl

Comic-dl is a command line tool to download manga and comics from various comic and manga sites. Supported sites : readcomiconline.to, mangafox.me, comic naver and many more.
https://github.com/Xonshiz/comic-dl
MIT License
550 stars 68 forks source link

error with naver comic #339

Open bndki opened 1 year ago

bndki commented 1 year ago

after the recent update to naver's website, it seems to break the script for downloading their comic?

this is the command i gave:

comic_dl -i https://comic.naver.com/webtoon/list?titleId=757904 --verbose

***Starting the script in Verbose Mode***

Traceback (most recent call last):
  File "cli.py", line 5, in <module>
    main()
  File "comic_dl\__main__.py", line 20, in main
    ComicDL(sys.argv[1:])
  File "comic_dl\comic_dl.py", line 205, in __init__
    honcho.Honcho().checker(comic_url=user_input, current_directory=os.getcwd(),
  File "comic_dl\honcho.py", line 110, in checker
    comicNaver.ComicNaver(manga_url=comic_url, logger=logging, current_directory=current_directory,
  File "comic_dl\sites\comicNaver.py", line 21, in __init__
    self.full_series(manga_url, self.comic_name, self.sorting, download_directory, chapter_range=chapter_range,
  File "comic_dl\sites\comicNaver.py", line 79, in full_series
    latest_chapter = re.findall(r"no=(\d+)[\&|\"]", str(source))[1]
IndexError: list index out of range
[42276] Failed to execute script 'cli' due to unhandled exception!

and here is the error log it created: https://gist.github.com/bndki/48b7239d582581f36fa28588c0cda8e2

any idea if this is due to an user-error, or something that went wrong with the script after their new update? thank you in advance.