Webtoon-Downloader icon indicating copy to clipboard operation
Webtoon-Downloader copied to clipboard

Error: Chapter Name is causing error in file naming due to usage of restricted symbols

Open foxtbirdy opened this issue 1 year ago • 3 comments

This will create an issue where the chapter names may create an error if the --out argument is used. This is what happened in downloading dungeons and artifacts The chapter name is What's a Goblin's Favorite Type of Fish? image image

Originally posted by @Code-Blender-7 in https://github.com/Zehina/Webtoon-Downloader/issues/3#issuecomment-2084200518

foxtbirdy avatar Apr 30 '24 02:04 foxtbirdy

The folder naming is a useful tool. I recommend replacing string characters with whitespace to solve this issue and maintain the functionality with minor limitations.

foxtbirdy avatar Apr 30 '24 04:04 foxtbirdy

https://github.com/Zehina/Webtoon-Downloader/issues/57

ZilverSick avatar Aug 24 '24 09:08 ZilverSick

The issue is located in the chapter_directory variable on line 78 of webtoon_downloader\core\webtoon\downloaders\chapter.py. We need to replace any illegal characters in the chapter_directory, which represents the chapter directory name.

stemalomd avatar Oct 06 '24 08:10 stemalomd