christianfds / manga_downloader Goto Github PK
View Code? Open in Web Editor NEWCLI to download manga as pdf
License: MIT License
CLI to download manga as pdf
License: MIT License
Add some unit tests for coverage of keys utils and functionalities for the manga downloader.
Add a Dockerfile to allow the code to run without the need to have python or to need to install its dependencies.
The README.md should also be updated to included commands to build and the volume needed to export the files.
At the moment most (if not all) methods are lacking docstring, it would be easier to understand the code if there was.
A nice way to do so is by using the njpwerner.autodocstring
extension on VSCode. It generates templates to be filled for the methods wanted.
If the specified output folder doesn't exists, an error is raised. It should create the folder if needed.
Download this manga? Y/N Y
1 - Chapter #1
Which indexes to download?
on hitting enter without typing anything the program crashes with following error:
Traceback (most recent call last):
File "manga_downloader/manga_downloader.py", line 118, in <module>
manga_downloader(args)
File "manga_downloader/manga_downloader.py", line 85, in manga_downloader
selected_chapters, chapters = select_chapters(provider, manga)
File "manga_downloader/manga_downloader.py", line 61, in select_chapters
selected_chapters = parse_chapter_selection(response)
File "manga_downloader/manga_downloader.py", line 29, in parse_chapter_selection
chapters = chapters + [int(section_range[0])]
ValueError: invalid literal for int() with base 10: ''
@christianfds IMO It would be nice to validate manga links using http link regexes and having a test that allows us to see the parsing being successful and/or failing and handling said failures.
As current iteration we iterate one by one on all the search result when searching the title.
eg: on my case, it's Pain full to go trough the whole screen to find Youjo Senki
with the keyword Youjo Senki
when it actualy take 7 times pressing 'N' to get what i wan't with other different keyword
I think it will be convenient to the user to actually have a list of the search result and selecting what they want to download instead of going trough all of that. is this idea still on viable with what you want with this project to be?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.