mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-21 05:43:16 -07:00
remove english words from reverse pattern. fixes #385
This commit is contained in:
parent
d65900816b
commit
e856835f11
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ from nzbtomedia.nzbToMediaUtil import listMediaFiles
|
|||
Logger = logging.getLogger()
|
||||
reverse_list = [r"\.\d{2}e\d{2}s\.", r"\.[pi]0801\.", r"\.p027\.", r"\.p084\.", r"\.p063\.", r"\b[45]62[xh]\.", r"\.yarulb\.", r"\.vtd[hp]\.", r"\.ld[.-]?bew\.",
|
||||
r"\.pir.?(dov|dvd|bew|db|rb)\.", r"\brdvd\.", r"\.vts\.", r"\.reneercs\.", r"\.dcv\.", r"\b(pir|mac)dh\b", r"\.reporp\.", r"\.kcaper\.", r"\.lanretni\.",
|
||||
r"\b3ca\b", r"\.cstn\.", r"\.lap\.", r"\.maces\."]
|
||||
r"\b3ca\b", r"\.cstn\."]
|
||||
reverse_pattern = re.compile('|'.join(reverse_list), flags=re.IGNORECASE)
|
||||
season_pattern = re.compile(r"(.*\.\d{2}e\d{2}s\.)(.*)", flags=re.IGNORECASE)
|
||||
word_pattern = re.compile(r"([^A-Z0-9]*[A-Z0-9]+)")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue