extremetorrents: replace dutch title keywords (#11317)

also remove season and ep tv-search

Co-authored-by: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com>
This commit is contained in:
Wouter Rutgers 2021-03-15 00:00:37 +01:00 committed by GitHub
parent 8c0fcecb95
commit acb1429204
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 1 deletions

View File

@ -36,7 +36,7 @@ caps:
modes:
search: [q]
tv-search: [q, season, ep]
tv-search: [q]
movie-search: [q]
music-search: [q]
book-search: [q]
@ -104,6 +104,15 @@ search:
args: cat
title:
selector: a[href^="details.php?id="]
filters:
- name: re_replace
args: ["(?i)seizoen\\s*(\\d{1,2})\\s*(tot|t\/m)\\s*(\\d{1,2})", "S$1-$3"]
- name: re_replace
args: ["(?i)(seizoen\\s*)(\\d{1,2})", "S$2"]
- name: re_replace
args: ["(?i)(afl.\\s*|aflevering\\s*)(\\d{1,2})", "E$2"]
- name: re_replace
args: ["(?i)compleet", "Complete"]
details:
selector: a[href^="details.php?id="]
attribute: href