mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
1337x: restore -group in title
This commit is contained in:
@@ -193,7 +193,8 @@ search:
|
|||||||
selector: td[class^="coll-1"] a[href^="/torrent/"]
|
selector: td[class^="coll-1"] a[href^="/torrent/"]
|
||||||
title_optional:
|
title_optional:
|
||||||
# the movies, tv and music pages abbreviate the title so we process the href instead. #8137
|
# the movies, tv and music pages abbreviate the title so we process the href instead. #8137
|
||||||
selector: td[class^="coll-1"] a[href^="/torrent/"]
|
optional: true
|
||||||
|
selector: td[class^="coll-1"] a[href^="/torrent/"]:contains("...")
|
||||||
attribute: href
|
attribute: href
|
||||||
filters:
|
filters:
|
||||||
- name: urldecode
|
- name: urldecode
|
||||||
@@ -204,7 +205,11 @@ search:
|
|||||||
text: "{{ if .Result.title_optional }}{{ .Result.title_optional }}{{ else }}{{ .Result.title_default }}{{ end }}"
|
text: "{{ if .Result.title_optional }}{{ .Result.title_optional }}{{ else }}{{ .Result.title_default }}{{ end }}"
|
||||||
filters:
|
filters:
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
|
args: ["-([\\w]+(?:[\\[\\]\\(\\)\\w]+)?)$", "~$1"]
|
||||||
|
- name: replace
|
||||||
args: ["-", " "]
|
args: ["-", " "]
|
||||||
|
- name: re_replace
|
||||||
|
args: ["~([\\w]+(?:[\\[\\]\\(\\)\\w]+)?)$", "-$1"]
|
||||||
- name: replace
|
- name: replace
|
||||||
args: ["Grey's Anatomy", "Greys Anatomy"]
|
args: ["Grey's Anatomy", "Greys Anatomy"]
|
||||||
- name: replace
|
- name: replace
|
||||||
|
Reference in New Issue
Block a user