1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-03-09 13:52:03 +00:00

btarg: shift prefix tags to end of title for *arr

This commit is contained in:
Garfield69 2023-10-06 19:45:57 +13:00
parent 996f6db141
commit 560e5b33fb

View file

@ -139,6 +139,12 @@ search:
args: ["(?i)Temporada (\\d{1,3})\\s*y\\s*(\\d{1,3})", "S$1-$2"]
- name: re_replace
args: ["(?i)Temporada (\\d{1,3})", "S$1"]
# move ARG tag to end
- name: re_replace
args: ["^(\\[ARG\\]) (.+?)$", "$2 $1"]
# move quality tags to end
- name: re_replace
args: ["^(\\[.+?\\]) (.+?)$", "$2 $1"]
title:
selector: a[title][href^="details.php?id="]
attribute: title
@ -173,6 +179,12 @@ search:
args: ["(?i)Temporada (\\d{1,3})\\s*y\\s*(\\d{1,3})", "S$1-$2"]
- name: re_replace
args: ["(?i)Temporada (\\d{1,3})", "S$1"]
# move ARG tag to end
- name: re_replace
args: ["^(\\[ARG\\]) (.+?)$", "$2 $1"]
# move quality tags to end
- name: re_replace
args: ["^(\\[.+?\\]) (.+?)$", "$2 $1"]
details:
selector: a[href^="details.php?id="]
attribute: href