Open elblanco5 opened 3 months ago
This seems like a lot of work, for a seemingly small amount of "relevant" comics that are not already on GC. I could be wrong though, please correct me if so.
Implementing z-library doesn't look that hard; the library you linked is so small and simple that I can just write it all myself. It's a simple "search and process results". And downloading is basically just direct downloading. Only challenge is the handling of mirrors and the API key.
The internet archive looks a lot more complicated and time consuming to implement and make work properly.
I'll probably not implement the internet archive. I will probably implement z-library, but not very soon. For sure not before the next release.
Sounds great, and obviously neither is high priority. Just thought it might be useful to gather the information for those sources in one place.
Problem
getcomics.org is great, but doesn't have everything I'm looking for
Solution
Z-library mirrors often has specific issues and graphic novels of comics. (though usually in PDF or some ebook format like epub which is fine for many readers and book servers). However, I don't know if it has an official API access to download things. It appears that there is an unofficial API Python library.
Archive.org also often has old, rare, or foreign comics, often already converted into a number of formats.
For example, many comics for Archive.org can be found here
Many other books are available by specific search, but need to be temporarily checked out to view. This extension is able to download these books once checked out
The Internet Archive does offer an official Python library as well.
Additional context
Understanding that z-library has multiple mirrors, it may be necessary to allow users to configure Kapowarr with a list of working mirrors themselves before any downloading can function.
Archive.org is also likely to require two different download methods, the official Python library method (easier) and then maybe some kind of headless Chromium browser running the downloader script supplied above as it looks like it just flips all the pages in the book, downloads each image, and then runs some kind of pdf builder to assemble the final book.