[Bug] Unable to get series with similar titles #12
Description
Plugin
Catmanga
Describe the bug
When searching a serie with similar titles, it always gives the result with the longest title. For example, searching for "Getsuyoubi no Tawawa" will always give "Getsuyoubi no Tawawa (Blue)" and there is no way of getting the normal serie. Same thing happen for "Kanojo, Okarishimasu", it will always give "Kanojo, Okarishimasu - The Official Anthology" instead.
To Reproduce
Steps to reproduce the behavior:
- Go to Download > Plugins and select the Catmanga plugin
- Search titles mentioned before.
Expected behavior
When the search has an exact match, get the corresponding serie, otherwise give the default result.
Or maybe a way to search by "serie id". For example : https://catmanga.org/series/kanokari
-> kanokari
for "Kanojo, Okarishimasu" and https://catmanga.org/series/kanokari-anth
-> kanokari-anth
for "Kanojo, Okarishimasu - The Official Anthology".
Mango version
v0.21 in docker container