mirror of
https://github.com/morpheus65535/bazarr
synced 2025-02-23 14:31:06 +00:00
Subdivx provider: improve language matching
This commit is contained in:
parent
b36b3782d7
commit
6d79e6f345
1 changed files with 1 additions and 2 deletions
|
@ -6,7 +6,6 @@ import re
|
|||
import time
|
||||
|
||||
from requests import Session
|
||||
from six.moves import range
|
||||
from subliminal import __short_version__
|
||||
from subliminal.providers import ParserBeautifulSoup
|
||||
from subliminal.video import Episode
|
||||
|
@ -27,7 +26,7 @@ _CLEAN_TITLE_RES = [
|
|||
(r" {2,}", " "),
|
||||
]
|
||||
|
||||
_SPANISH_RE = re.compile(r"españa|ib[eé]rico|castellano|gallego|castilla")
|
||||
_SPANISH_RE = re.compile(r"españa|ib[eé]rico|castellano|gallego|castilla|europ[ae]")
|
||||
_YEAR_RE = re.compile(r"(\(\d{4}\))")
|
||||
_YEAR_RE_INT = re.compile(r"\((\d{4})\)")
|
||||
|
||||
|
|
Loading…
Reference in a new issue