Partially retain non-alphanumeric punctuation in filenames
Any non-alphanumeric punctuation are being discarded as of now
When downloading a manga through the app, if there are any punctuation (like : or ' etc. ), in the Manga's Title or Chapter's Title, they are just replaced with a white-space.
It would be good if the formatting for naming images/cbz/folder should've retained some of the punctuation to make it look more readable.
Consider this for example: https://mangaplus.shueisha.co.jp/titles/100248
Manga Name: Nue's Exorcist, but it results as Nue S Exorcist
For Chapter's names: : are deleted and ' are replaced by a white-space
What should be done?
- Just delete any
'(So that the manga title should beNues Exorcistat least) - For chapters, replace
:with-along with previous fix-
Chapter 23: Nue's Candidateis saved withChapter 23 Nue s Candidate, it should beChapter 23 - Nues Candidate
-
If these can be implemented, please do so 🙏🏼
After many attempts, I have modified my code for fixing this to fit my purpose.
It also adds the Publication year and Group name to the filename.
Now, Chapter 1: Portrait view of the sky is saved as Nue's Exorcist/Nue's Exorcist - c001 (2023) (web) [Chapter 1 - Portrait View Of The Sky] [fr3akyphantom].cbz