mirror of https://github.com/morpheus65535/bazarr
Handle when title cannot be parsed
For example https://www.feliratok.info/index.php?term=American%20Chopper&nyelv=0&action=autoname returns a result which causes https://github.com/morpheus65535/bazarr/issues/1179#issuecomment-721068203
This commit is contained in:
parent
8adcd0b4f2
commit
c2a311689e
|
@ -229,6 +229,8 @@ class SuperSubtitlesProvider(Provider, ProviderSubtitleArchiveMixin):
|
|||
continue
|
||||
|
||||
result_title = result_title.strip().replace("<EFBFBD>", "").replace(" ", ".")
|
||||
if not result_title:
|
||||
continue
|
||||
|
||||
guessable = result_title.strip() + ".s01e01." + result_year
|
||||
guess = guessit(guessable, {'type': "episode"})
|
||||
|
|
Loading…
Reference in New Issue