bajuwa / ComicCompiler

Scripts that help combine/splice webtoon images into a smaller collection of pages
GNU General Public License v3.0
15 stars 5 forks source link

Refactor the implementation of the downloader section to allow arbitrary CLI commands #106

Closed bajuwa closed 4 years ago

bajuwa commented 4 years ago

This should run similarly to the dev-version of vulkan waifu'ing, where the 'command' is a formatted string that takes input arguments that cc-suite will provide via string.format().

This should replace the existing mangapy_source config key

NOTE: Make sure this works with a few downloaders first; since all DLers work differently allow for wiggle room in terms of "users may need to configure their downloader themselves" since base behaviour is just a CLI terminal process.

Downloaders to investigate: https://github.com/manga-py/manga-py https://pypi.org/project/comiccrawler/ https://github.com/kanasimi/work_crawler (question: only DL one chapter?)

bajuwa commented 4 years ago

Due to differences in download locations, formats (zip files), and expected arguments, it would be difficult to support arbitrary download commands.