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
545 stars 68 forks source link

Will not download chapters with decimals in names #269

Closed Aemilian666 closed 4 years ago

Aemilian666 commented 4 years ago

Hey guys,

So this works fine for ComicExtra (except when there are 404 errors because the comics aren't even uploaded as issues, triangular exclamation marks, but that is a website issue) however there is one issue:

When downloading files in a sequence such as:

212 213 213.1 214 215 216

It downloads only up to 213, if doing descending order, then I get the following error which halts the entire script - it not only prevents 213.1 from being downloaded, it prevents any chapter thereafter. I have to switch to ReadComicOnline to get it to work.

Here's the issue in depth:

"D:\Comics\comic-dl-master>python comic_dl/main.py -i https://www.comicextra.com/x-factor-1986/chapter-224.1 Whoops! Seems like I can't connect to website. It's showing : <Response [404]> Run this script with the --verbose argument and report the issue along with log file on Github. Traceback (most recent call last): File "comic_dl/main.py", line 10, in ComicDL(sys.argv[1:]) File "D:\Comics\comic-dl-master\comic_dl\comic_dl.py", line 278, in init honcho.Honcho().checker(comic_url=user_input, current_directory=os.getcwd(), File "D:\Comics\comic-dl-master\comic_dl\honcho.py", line 194, in checker comicextra.ComicExtra(manga_url=comic_url, logger=logging, current_directory=current_directory, File "D:\Comics\comic-dl-master\comic_dl\sites\comicextra.py", line 29, in init self.single_chapter(manga_url, download_directory, File "D:\Comics\comic-dl-master\comic_dl\sites\comicextra.py", line 38, in single_chapter source, cookies = globalFunctions.GlobalFunctions().page_downloader(manga_url=comic_url) File "D:\Comics\comic-dl-master\comic_dl\globalFunctions.py", line 52, in page_downloader raise Warning("can't connect to website %s" % manga_url) Warning: can't connect to website https://www.comicextra.com/x-factor-1986/chapter-224.1/full"

Any tips? The file exists, I retrieved it elsewhere with the same program, but for some reason this won't work.

Thanks!