mirror of https://github.com/Jackett/Jackett
1337x: tidy up
This commit is contained in:
parent
5e5b2a93b3
commit
016471156e
|
@ -236,7 +236,7 @@ search:
|
||||||
args: ["(?i)WEB\\sDL", "WEB-DL"]
|
args: ["(?i)WEB\\sDL", "WEB-DL"]
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["(?i)HDTVRIP", "HDTV"]
|
args: ["(?i)HDTVRIP", "HDTV"]
|
||||||
category_sub:
|
category_optional:
|
||||||
optional: true
|
optional: true
|
||||||
selector: td[class^="coll-1"] a[href^="/sub/"]
|
selector: td[class^="coll-1"] a[href^="/sub/"]
|
||||||
attribute: href
|
attribute: href
|
||||||
|
@ -245,7 +245,7 @@ search:
|
||||||
- name: split
|
- name: split
|
||||||
args: ["/", 2]
|
args: ["/", 2]
|
||||||
category:
|
category:
|
||||||
text: "{{ if .Result.category_sub }}{{ .Result.category_sub }}{{ else }}40{{ end }}"
|
text: "{{ if .Result.category_optional }}{{ .Result.category_optional }}{{ else }}40{{ end }}"
|
||||||
details:
|
details:
|
||||||
selector: td[class^="coll-1"] a[href^="/torrent/"]
|
selector: td[class^="coll-1"] a[href^="/torrent/"]
|
||||||
attribute: href
|
attribute: href
|
||||||
|
|
Loading…
Reference in New Issue