Skip to content

Commit

Permalink
Subdivx provider: improve language matching
Browse files Browse the repository at this point in the history
  • Loading branch information
vitiko98 committed Oct 30, 2023
1 parent b36b378 commit 6d79e6f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libs/subliminal_patch/providers/subdivx.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
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
Expand All @@ -27,7 +26,7 @@
(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})\)")

Expand Down

0 comments on commit 6d79e6f

Please sign in to comment.