mirror of https://github.com/morpheus65535/bazarr
Merge pull request #1185 from stevezau/patch-4
supersubtitles handle when title cannot be parsed
This commit is contained in:
commit
2cba5e0ed1
|
@ -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