Giter VIP home page Giter VIP logo

manga_downloader's Introduction

Hi there ๐Ÿ‘‹

manga_downloader's People

Contributors

alig1493 avatar christianfds avatar rizkiepratama avatar rodgeraraujo avatar

Stargazers

 avatar  avatar

Watchers

 avatar

manga_downloader's Issues

Add unit tests

Add some unit tests for coverage of keys utils and functionalities for the manga downloader.

Add a Dockerfile

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.

Add docstring to methods

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.

program crashing on blank input when prompted for chapter selection

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: ''

Show list of search result and select by number, instead showing them one by one.

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
Screen Shot 2022-10-11 at 22 58 13
Screen Shot 2022-10-11 at 22 58 51

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.