iShibi / read_comic_offline

A python program which downloads comics from readcomiconline website.
MIT License
2 stars 0 forks source link

Functionality: Name the comic files after the comic #3

Open StrangeDOS opened 3 years ago

StrangeDOS commented 3 years ago

Currently, it looks like any comic that is downloaded is going to be named the same thing (comic.cbr). It would be easier on the user if you parsed out the URL and got the name of the comic, created a sub directory of the same name as the comic and name the comic file similar name. So downloading using the URL, https://readcomiconline.to/Comic/Untold-Tales-Of-The-New-Universe-D-P-7/Full?id=157330, would be parsed out to Untold-Tales-Of-The-New-Universe-D-P-7. This will make sorting lots easier after the downloading is done.

iShibi commented 3 years ago

Done.