Comments (9)
I hope that the latest release would be pulled for the time being to avoid other users to have the same issue as well.
Other than that, thank you for your hard work in maintaining this library!
This library is great, having more customization and even includes downloading, which is something I couldn’t find in other libraries.
Keep up the good work!
from horrible-downloader.
Thank you for submitting an issue, I'll try to solve this as soon as possible
from horrible-downloader.
I'm unable to recreate the problem. When I run this command I get the following:
$ horrible-downloader -d "Kateikyoushi Hitman Reborn!" -e 8 -o ~/mnt/s/HorribleDownloader
Traceback (most recent call last):
File "/usr/bin/horrible-downloader", line 8, in <module>
sys.exit(cli())
File "/home/suerflowz/.local/lib/python3.8/site-packages/HorribleDownloader/cmd.py", line 369, in cli
main(args)
File "/home/suerflowz/.local/lib/python3.8/site-packages/HorribleDownloader/cmd.py", line 225, in main
title = Parser().get_episodes(args.download)[0]["title"]
IndexError: list index out of range
There is a bug here, but It's not the same one that you're describing.
Can you recreate this bug again? If so, please provide more info about your python version and OS so I could recreate this on my machine.
from horrible-downloader.
Hi, while I'm not the one who opened the issue, I am also having the same issue, here is the output:
PS C:\Users\username\Documents\Projects\horriblesubs_srt> horrible-downloader -d "Fruits Basket S2 (2019)" -e 3 -o ~/Videos/Anime
Traceback (most recent call last):
File "c:\users\username\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\username\appdata\local\programs\python\python38-32\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "C:\Users\username\AppData\Local\Programs\Python\Python38-32\Scripts\horrible-downloader.exe\__main__.py", line 7, in <module>
File "c:\users\username\appdata\local\programs\python\python38-32\lib\site-packages\HorribleDownloader\cmd.py", line 369, in cli
main(args)
File "c:\users\username\appdata\local\programs\python\python38-32\lib\site-packages\HorribleDownloader\cmd.py", line 225, in main
title = Parser().get_episodes(args.download)[0]["title"]
File "c:\users\username\appdata\local\programs\python\python38-32\lib\site-packages\HorribleDownloader\parser.py", line 88, in get_episodes
showid = self._get_show_id(show)
File "c:\users\username\appdata\local\programs\python\python38-32\lib\site-packages\HorribleDownloader\parser.py", line 19, in _get_show_id
key = fuzzy_match.extractOne(show, self.shows.keys())[0]
TypeError: 'NoneType' object is not subscriptable
As per your request, I'm getting this error on Python 3.8.1 and my current machine is running on Windows 10. The command itself was run on Powershell Core (Powershell 6.2.3).
Hope this helps!
P.S. based on your machine commands, I might test this script on Ubuntu 20.04 and see if something else comes up.
from horrible-downloader.
Okay, I found the problem.
The machine I was trying to recreate the problem on had an outdated version of horrible-downloader
(version 1.0.5).
Once I've updated it to the current version, I can easily recreate the issue.
This narrows down the problem to version 1.0.6 only.
Meanwhile you can downgrade the version to 1.0.5 and upgrade to the latest update as soon as I publish a new version.
from horrible-downloader.
Thank you for the quick reply!
I will try this out as soon as my machine completes this video rendering I’m doing currently.
I’ve looked through the commits between the two versions and I think the pull request #28 must have something to do with this issue?
from horrible-downloader.
You're exactly right, the problem is that rapidfuzz
doesn't behave exactly like fuzzy_wuzzy
.
I know how to fix it, but I would prefer that rapidfuzz would fix their problem as well.
That said, I need to write better tests so issues like this one would've been caught earlier.
from horrible-downloader.
The current version (1.0.6) is now yanked.
for more details about yanking a package - https://pypi.org/help/#yanked
from horrible-downloader.
Because the previous version (1.0.5) is stable, This patch won't be published on pypi. In one month this will be published as version 1.1.0 with more features and bugfixes.
If anyone wishes to use this patch, please install it manually from this commit
from horrible-downloader.
Related Issues (20)
- Error parsing non-float episodes HOT 5
- get_episodes(show: str, limit) is not limiting the correct number of episodes HOT 1
- UnicodeDecodeError: 'charmap' HOT 2
- IndexError when downloading batch only shows
- Order download priority of new episodes HOT 1
- Adding log output
- Add path to config flag
- Downloading is reversed
- Handle resolution per show
- Error webtorrent not found HOT 1
- support search method
- subscribing to downloaded shows
- implement getlast method
- Can't download new episode by using CLI. (TypeError) HOT 4
- Limit not working properly HOT 1
- change title fuzzing scorer for better results HOT 1
- Add support for local torrent client or exporting magnet links HOT 2
- Search confusion with shows containing another show name. HOT 2
- RIP HS HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from horrible-downloader.