mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-21 23:32:31 +00:00
Fixed subf2m search process by stripping html title result before using regex
This commit is contained in:
parent
9ec6027989
commit
855da6b1bb
1 changed files with 2 additions and 2 deletions
|
@ -220,7 +220,7 @@ class Subf2mProvider(Provider):
|
|||
|
||||
results = []
|
||||
for result in self._gen_results(title):
|
||||
text = result.text.lower()
|
||||
text = result.text.strip().lower()
|
||||
match = self._movie_title_regex.match(text)
|
||||
if not match:
|
||||
continue
|
||||
|
@ -254,7 +254,7 @@ class Subf2mProvider(Provider):
|
|||
|
||||
results = []
|
||||
for result in self._gen_results(title):
|
||||
text = result.text.lower()
|
||||
text = result.text.strip().lower()
|
||||
|
||||
match = self._tv_show_title_regex.match(text)
|
||||
if not match:
|
||||
|
|
Loading…
Reference in a new issue