mirror of https://github.com/Jackett/Jackett
yts: swap url scheme with host sitelink. #12494
This commit is contained in:
parent
64121e4630
commit
b7577ef3ed
|
@ -88,14 +88,30 @@ search:
|
||||||
# append type: BRRip or WEBRip, resolves #3558 via #4577
|
# append type: BRRip or WEBRip, resolves #3558 via #4577
|
||||||
- name: append
|
- name: append
|
||||||
args: ".{{ .Result.year }}.{{ .Result.quality }}.{{ if eq .Result.type \"web\" }}WEBRip{{ else }}BRRip{{ end }}-YTS"
|
args: ".{{ .Result.year }}.{{ .Result.quality }}.{{ if eq .Result.type \"web\" }}WEBRip{{ else }}BRRip{{ end }}-YTS"
|
||||||
|
sitelink_trimmed:
|
||||||
|
text: "{{ .Config.sitelink }}"
|
||||||
|
filters:
|
||||||
|
- name: replace
|
||||||
|
args: ["https://", ""]
|
||||||
|
- name: replace
|
||||||
|
args: ["/", ""]
|
||||||
details:
|
details:
|
||||||
selector: ..url
|
selector: ..url
|
||||||
|
filters:
|
||||||
|
- name: replace
|
||||||
|
args: ["yts.mx", "{{ .Result.sitelink_trimmed }}"] # fix for 12494
|
||||||
download:
|
download:
|
||||||
selector: url
|
selector: url
|
||||||
|
filters:
|
||||||
|
- name: replace
|
||||||
|
args: ["yts.mx", "{{ .Result.sitelink_trimmed }}"] # fix for 12494
|
||||||
infohash:
|
infohash:
|
||||||
selector: hash
|
selector: hash
|
||||||
poster:
|
poster:
|
||||||
selector: ..large_cover_image
|
selector: ..large_cover_image
|
||||||
|
filters:
|
||||||
|
- name: replace
|
||||||
|
args: ["yts.mx", "{{ .Result.sitelink_trimmed }}"] # fix for 12494
|
||||||
imdbid:
|
imdbid:
|
||||||
selector: ..imdb_code
|
selector: ..imdb_code
|
||||||
date:
|
date:
|
||||||
|
|
Loading…
Reference in New Issue