This commit is contained in:
dave 2020-01-10 21:21:06 -08:00
parent d4e155e949
commit b08619d9e5
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ from collections import namedtuple
NORMAL_SEASON_EP_RE = re.compile(r'(([sS]([0-9]{2}))x?([eE]([0-9]{2}))?)') # match something like s01e02 NORMAL_SEASON_EP_RE = re.compile(r'(([sS]([0-9]{2}))x?([eE]([0-9]{2}))?)') # match something like s01e02
NORMAL_SEASON_EP_RE2 = re.compile(r'(([0-9]+)[xX]([0-9]{2}))') # match something like 21x04 NORMAL_SEASON_EP_RE2 = re.compile(r'(([0-9]+)[xX]([0-9]{2}))') # match something like 21x04
DATE_SEASON_EP_RE = re.compile(r'((201[0-9]).([0-9]{1,2})?.([0-9]{1,2})?)') # match something like 2017-08-3 DATE_SEASON_EP_RE = re.compile(r'((20[1,2][0-9]).([0-9]{1,2})?.([0-9]{1,2})?)') # match something like 2017-08-3
COMMON_CRAP = [re.compile(i, flags=re.I) for i in COMMON_CRAP = [re.compile(i, flags=re.I) for i in
[r'(720|1080)p', [r'(720|1080)p',
r'hdtv', r'hdtv',