mirror of https://github.com/Jackett/Jackett
soulvoice: update layout. resolves #8451
This commit is contained in:
parent
9f913d14d7
commit
c2b9a42f31
|
@ -22,8 +22,8 @@ caps:
|
||||||
|
|
||||||
modes:
|
modes:
|
||||||
search: [q]
|
search: [q]
|
||||||
tv-search: [q, season, ep, imdbid]
|
tv-search: [q, season, ep, imdbid, doubanid]
|
||||||
movie-search: [q, imdbid]
|
movie-search: [q, imdbid, doubanid]
|
||||||
music-search: [q]
|
music-search: [q]
|
||||||
|
|
||||||
settings:
|
settings:
|
||||||
|
@ -71,13 +71,14 @@ search:
|
||||||
- path: torrents.php
|
- path: torrents.php
|
||||||
inputs:
|
inputs:
|
||||||
$raw: "{{ range .Categories }}cat{{.}}=1&{{end}}"
|
$raw: "{{ range .Categories }}cat{{.}}=1&{{end}}"
|
||||||
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
|
# currently supports only one query id at one time.
|
||||||
|
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if .Query.DoubanID }}{{ .Query.DoubanID }}{{ else }}{{ end }}{{ if or .Query.IMDBID .Query.DoubanID }}{{ else }}{{ .Keywords }}{{ end }}"
|
||||||
# 0 incldead, 1 active, 2 dead
|
# 0 incldead, 1 active, 2 dead
|
||||||
incldead: 0
|
incldead: 0
|
||||||
# 0 all, 1 normal, 2 free, 3 2x, 4 2xfree, 5 50%, 6 2x50%, 7 30%
|
# 0 all, 1 normal, 2 free, 3 2x, 4 2xfree, 5 50%, 6 2x50%, 7 30%
|
||||||
spstate: "{{ if .Config.freeleech }}2{{ else }}0{{ end }}"
|
spstate: "{{ if .Config.freeleech }}2{{ else }}0{{ end }}"
|
||||||
# 0 title, 1 descr, 3 uploader, 4 imdburl
|
# 0 title, 1 descr, 3 uploader, 4 imdburl
|
||||||
search_area: "{{ if .Query.IMDBID }}4{{ else }}0{{ end }}"
|
search_area: "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if .Query.DoubanID }}1{{ else }}{{ end }}{{ if or .Query.IMDBID .Query.DoubanID }}{{ else }}0{{ end }}"
|
||||||
# 0 AND, 1 OR, 2 exact
|
# 0 AND, 1 OR, 2 exact
|
||||||
search_mode: 0
|
search_mode: 0
|
||||||
sort: "{{ .Config.sort }}"
|
sort: "{{ .Config.sort }}"
|
||||||
|
@ -108,11 +109,19 @@ search:
|
||||||
selector: a[href^="download.php?id="]
|
selector: a[href^="download.php?id="]
|
||||||
attribute: href
|
attribute: href
|
||||||
imdbid:
|
imdbid:
|
||||||
|
# site currently only has a badge and rating, the id is not present. just in case a future update.
|
||||||
selector: a[href*="imdb.com/title/tt"]
|
selector: a[href*="imdb.com/title/tt"]
|
||||||
attribute: href
|
attribute: href
|
||||||
|
doubanid:
|
||||||
|
# site currently only has a badge and rating, the id is not present. just in case a future update.
|
||||||
|
selector: a[href*="movie.douban.com/subject/"]
|
||||||
|
attribute: href
|
||||||
|
poster:
|
||||||
|
selector: img[data-src]
|
||||||
|
attribute: data-src
|
||||||
date_elapsed:
|
date_elapsed:
|
||||||
# time type: time elapsed (default)
|
# time type: time elapsed (default)
|
||||||
selector: td.rowfollow:nth-last-of-type(7) > span[title]
|
selector: td.rowfollow:nth-last-of-type(6) > span[title]
|
||||||
attribute: title
|
attribute: title
|
||||||
optional: true
|
optional: true
|
||||||
filters:
|
filters:
|
||||||
|
@ -122,7 +131,7 @@ search:
|
||||||
args: "yyyy-MM-dd HH:mm:ss zzz"
|
args: "yyyy-MM-dd HH:mm:ss zzz"
|
||||||
date_added:
|
date_added:
|
||||||
# time added
|
# time added
|
||||||
selector: td.rowfollow:nth-last-of-type(7):not(:has(span))
|
selector: td.rowfollow:nth-last-of-type(6):not(:has(span))
|
||||||
optional: true
|
optional: true
|
||||||
filters:
|
filters:
|
||||||
- name: append
|
- name: append
|
||||||
|
@ -132,13 +141,13 @@ search:
|
||||||
date:
|
date:
|
||||||
text: "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
|
text: "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
|
||||||
size:
|
size:
|
||||||
selector: td.rowfollow:nth-last-of-type(6)
|
|
||||||
seeders:
|
|
||||||
selector: td.rowfollow:nth-last-of-type(5)
|
selector: td.rowfollow:nth-last-of-type(5)
|
||||||
leechers:
|
seeders:
|
||||||
selector: td.rowfollow:nth-last-of-type(4)
|
selector: td.rowfollow:nth-last-of-type(4)
|
||||||
grabs:
|
leechers:
|
||||||
selector: td.rowfollow:nth-last-of-type(3)
|
selector: td.rowfollow:nth-last-of-type(3)
|
||||||
|
grabs:
|
||||||
|
selector: td.rowfollow:nth-last-of-type(2)
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
case:
|
case:
|
||||||
img.pro_free: 0
|
img.pro_free: 0
|
||||||
|
@ -154,6 +163,6 @@ search:
|
||||||
img.pro_2up: 2
|
img.pro_2up: 2
|
||||||
"*": 1
|
"*": 1
|
||||||
description:
|
description:
|
||||||
selector: td:nth-child(2)
|
selector: td.rowfollow:nth-child(2)
|
||||||
remove: a, img
|
remove: a, img, span
|
||||||
# NexusPHP Standard v1.5 Beta 5
|
# NexusPHP v1.7.34 2023-02-10
|
||||||
|
|
Loading…
Reference in New Issue