Comments (2)
The problem lies in here
from rapidfuzz import process, fuzz
from HorribleDownloader import Parser
p = Parser()
process.extract("boku no hero academia - ikinokore! kesshi no survival kunren", p.shows.keys(), scorer=fuzz.token_set_ratio, limit=2)
# [('Boku no Hero Academia', 100.0), ('Boku no Hero Academia - Ikinokore! Kesshi no Survival Kunren', 100.0)]
For some reason, both Boku no Hero Academia
and Boku no Hero Academia - Ikinokore! Kesshi no Survival Kunren
have a score of 100. This is a continuation of #52, which was supposed to solve it.
You can search for a better string matching algorithm, but the best solution is by implementing #43 which I don't have too much time to do (I've started the implementation on the api-extend branch)
I'll try to continue working in it, but I'm not sure it'll happen soon.
from horrible-downloader.
I'll take a look this weekend and see what I can work up with api-extend branch
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
- NoneType' object is not subscriptable HOT 9
- 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
- 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.