tntvillage: improve title generation (#3651)

A little update to make:
case insensitive the regex
change web-dlmux to web-dl, sonar don't like it so much, hope resolve a lot of manual import from this traker
This commit is contained in:
Jorman 2018-08-19 15:29:43 +02:00 committed by kaso17
parent 113b3dffff
commit 15a1c6566f
1 changed files with 4 additions and 3 deletions

View File

@ -47,9 +47,10 @@
filters:
- name: split
args: ["=", "-1"]
# normalize to SXXEYY format
- name: re_replace
args: ["\\b([s])?(\\d{1,3})[x\\s](\\d{1,3})", "S$2E$3"]
- name: re_replace # normalize to SXXEYY format
args: ["(?i)\\b([s])?(\\d{1,3})[x\\s](\\d{1,3})", "S$2E$3"]
- name: re_replace # replace web-dlmux with webdl, sonarr don't like it
args: ["(?i)web-?\\s?dlmux", "WEB-DL"]
details:
selector: td:nth-child(7) a
attribute: href