summaryrefslogtreecommitdiffhomepage
path: root/libs
diff options
context:
space:
mode:
authorVitiko <[email protected]>2023-10-30 17:20:36 -0400
committerVitiko <[email protected]>2023-10-30 17:20:36 -0400
commit6d79e6f34588283683d67ea9da0bc555274db604 (patch)
treef2e869bdef7720cc60b3b626249cd70aff7c7579 /libs
parentb36b3782d7eb3e348b1baf2c763fc4f81f5982da (diff)
downloadbazarr-6d79e6f34588283683d67ea9da0bc555274db604.tar.gz
bazarr-6d79e6f34588283683d67ea9da0bc555274db604.zip
Subdivx provider: improve language matching
Diffstat (limited to 'libs')
-rw-r--r--libs/subliminal_patch/providers/subdivx.py3
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})\)")