Giter Site home page Giter Site logo

Comments (4)

mtshrmn avatar mtshrmn commented on June 5, 2024

This is a known issue that is caused by non integer episodes (#23), I don't intend to fix this issue.
The only thing you can do is not download Re:Zero. (as far as I'm aware, this is the only anime that has letters in the episode number)

from horrible-downloader.

cdrakke avatar cdrakke commented on June 5, 2024

I actually went on to the error file and just changed a few things.

cmd.py - LINE 256

FROM

for episodes in downloads.values():
        downloads_list.extend(reversed(episodes))

TO

for episodes in downloads.values():
        if episodes == None:
            continue
        downloads_list.extend(reversed(episodes))

Just to help people out there, however the Re:Zero issue is still on it.
This is a very noob fix, I know there are better ways to do it.

Works now

FETCHING: Kanojo, Okarishimasu.............................. NONE
FETCHING: Shokugeki no Soma S5.............................. NONE
FETCHING: Dokyuu Hentai HxEros.............................. NONE
FETCHING: Re Zero kara Hajimeru Isekai Seikatsu
FETCHING: Boruto - Naruto Next Generations.................. NONE
FETCHING: Sword Art Online - Alicization - War of Underworld NONE
FETCHING: Lapis ReLiGHTs.................................... FOUND (1)

Found 1 file to download:

Lapis ReLiGHTs - 04 [720p].mkv

would you like to proceed? [Y/n] y

from horrible-downloader.

mtshrmn avatar mtshrmn commented on June 5, 2024

You're treating the symptoms and not the cause

from horrible-downloader.

cdrakke avatar cdrakke commented on June 5, 2024

I'm not actually pointing out the Re:Zero problem what I'm pointing out was the fact that it couldn't proceed and give the prompt to download the episode.

Traceback (most recent call last):
  File "c:\users\drake\appdata\local\programs\python\python38-32\lib\runpy.py", line 193, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "c:\users\drake\appdata\local\programs\python\python38-32\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "C:\Users\Drake\AppData\Local\Programs\Python\Python38-32\Scripts\horrible-downloader.exe\__main__.py", line 7, in <module>
  File "c:\users\drake\appdata\local\programs\python\python38-32\lib\site-packages\HorribleDownloader\cmd.py", line 257, in main
    downloads_list.extend(reversed(episodes))
TypeError: 'NoneType' object is not reversible

This error here was caused by:

for episodes in downloads.values():
        downloads_list.extend(reversed(episodes))

And for that reason it doesn't give the download prompt.
It just might help people out there.

from horrible-downloader.

Related Issues (20)

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.