diff options
author | Vitiko <[email protected]> | 2023-10-30 17:20:36 -0400 |
---|---|---|
committer | Vitiko <[email protected]> | 2023-10-30 17:20:36 -0400 |
commit | 6d79e6f34588283683d67ea9da0bc555274db604 (patch) | |
tree | f2e869bdef7720cc60b3b626249cd70aff7c7579 /libs | |
parent | b36b3782d7eb3e348b1baf2c763fc4f81f5982da (diff) | |
download | bazarr-6d79e6f34588283683d67ea9da0bc555274db604.tar.gz bazarr-6d79e6f34588283683d67ea9da0bc555274db604.zip |
Subdivx provider: improve language matching
Diffstat (limited to 'libs')
-rw-r--r-- | libs/subliminal_patch/providers/subdivx.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/subliminal_patch/providers/subdivx.py b/libs/subliminal_patch/providers/subdivx.py index 4f473e773..6c619d23c 100644 --- a/libs/subliminal_patch/providers/subdivx.py +++ b/libs/subliminal_patch/providers/subdivx.py @@ -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})\)") |