mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
u2: new layout and DL is on details page. resolves #15710
This commit is contained in:
@@ -15,15 +15,14 @@ caps:
|
|||||||
- {id: 413, cat: TV/Anime, desc: "Web"}
|
- {id: 413, cat: TV/Anime, desc: "Web"}
|
||||||
- {id: 12, cat: TV/Anime, desc: "BDRip"}
|
- {id: 12, cat: TV/Anime, desc: "BDRip"}
|
||||||
- {id: 13, cat: TV/Anime, desc: "DVDRip"}
|
- {id: 13, cat: TV/Anime, desc: "DVDRip"}
|
||||||
- {id: 14, cat: TV/Anime, desc: "HDTVRip"}
|
- {id: 14, cat: TV/Anime, desc: "HDTV"}
|
||||||
- {id: 15, cat: TV/Anime, desc: "DVDISO"}
|
- {id: 15, cat: TV/Anime, desc: "DVDISO"}
|
||||||
- {id: 16, cat: TV/Anime, desc: "BDMV"}
|
- {id: 16, cat: TV/Anime, desc: "BDMV"}
|
||||||
- {id: 17, cat: TV/Anime, desc: "LQRip"}
|
- {id: 17, cat: TV/Anime, desc: "LQRip"}
|
||||||
- {id: 410, cat: TV/Anime, desc: "外挂结构 (TV Series)"}
|
- {id: 410, cat: TV/Anime, desc: "外挂结构 (TV Series)"}
|
||||||
- {id: 412, cat: TV/Anime, desc: "加流重灌 (Modded Blu-rays)"}
|
- {id: 412, cat: TV/Anime, desc: "加流重灌 (Modded Blu-rays)"}
|
||||||
- {id: 21, cat: Books, desc: "Raw Books"}
|
- {id: 21, cat: Books, desc: "原版漫画 (Raw Books)"}
|
||||||
- {id: 22, cat: Books, desc: "港译漫画 (HK Books)"}
|
- {id: 22, cat: Books, desc: "翻译漫画 (Translated Books)"}
|
||||||
- {id: 23, cat: Books, desc: "台译漫画 (TW Books)"}
|
|
||||||
- {id: 30, cat: Audio, desc: "Lossless Music"}
|
- {id: 30, cat: Audio, desc: "Lossless Music"}
|
||||||
- {id: 40, cat: Other, desc: "Others"}
|
- {id: 40, cat: Other, desc: "Others"}
|
||||||
# Anime as Movies (Radarr uses t=movie):
|
# Anime as Movies (Radarr uses t=movie):
|
||||||
@@ -32,7 +31,7 @@ caps:
|
|||||||
- {id: 413, cat: Movies/Other, desc: "Web"}
|
- {id: 413, cat: Movies/Other, desc: "Web"}
|
||||||
- {id: 12, cat: Movies/HD, desc: "BDRip"}
|
- {id: 12, cat: Movies/HD, desc: "BDRip"}
|
||||||
- {id: 13, cat: Movies/Other, desc: "DVDRip"}
|
- {id: 13, cat: Movies/Other, desc: "DVDRip"}
|
||||||
- {id: 14, cat: Movies/Other, desc: "HDTVRip"}
|
- {id: 14, cat: Movies/Other, desc: "HDTV"}
|
||||||
- {id: 15, cat: Movies/Other, desc: "DVDISO"}
|
- {id: 15, cat: Movies/Other, desc: "DVDISO"}
|
||||||
- {id: 16, cat: Movies/BluRay, desc: "BDMV"}
|
- {id: 16, cat: Movies/BluRay, desc: "BDMV"}
|
||||||
- {id: 17, cat: Movies/Other, desc: "LQRip"}
|
- {id: 17, cat: Movies/Other, desc: "LQRip"}
|
||||||
@@ -85,6 +84,11 @@ login:
|
|||||||
path: index.php
|
path: index.php
|
||||||
selector: a[href^="logout.php?key="]
|
selector: a[href^="logout.php?key="]
|
||||||
|
|
||||||
|
download:
|
||||||
|
selectors:
|
||||||
|
- selector: a[href^="download.php?id="]
|
||||||
|
attribute: href
|
||||||
|
|
||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
- path: torrents.php
|
- path: torrents.php
|
||||||
@@ -93,7 +97,7 @@ search:
|
|||||||
search: "{{ .Keywords }}"
|
search: "{{ .Keywords }}"
|
||||||
# 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%, 8 all promotions
|
# 0 all, 1 normal, 2 free, 3 2x, 4 2xfree, 5 50%, 6 2x50%, 7 30%, 8 custom promotion
|
||||||
spstate: "{{ if .Config.freeleech }}2{{ else }}0{{ end }}"
|
spstate: "{{ if .Config.freeleech }}2{{ else }}0{{ end }}"
|
||||||
# 0 title, 1 descr, 3 uploader, 4 AniDB, 5 infohash
|
# 0 title, 1 descr, 3 uploader, 4 AniDB, 5 infohash
|
||||||
search_area: 0
|
search_area: 0
|
||||||
@@ -113,22 +117,17 @@ search:
|
|||||||
filters:
|
filters:
|
||||||
- name: querystring
|
- name: querystring
|
||||||
args: cat
|
args: cat
|
||||||
title_default:
|
|
||||||
selector: a[href^="details.php?id="]
|
|
||||||
title:
|
title:
|
||||||
selector: a[title][href^="details.php?id="]
|
selector: a[href^="details.php?id="]
|
||||||
attribute: title
|
|
||||||
optional: true
|
|
||||||
default: "{{ .Result.title_default }}"
|
|
||||||
details:
|
details:
|
||||||
selector: a[href^="details.php?id="]
|
selector: a[href^="details.php?id="]
|
||||||
attribute: href
|
attribute: href
|
||||||
download:
|
download:
|
||||||
selector: a[href^="download.php?id="]
|
selector: a[href^="details.php?id="]
|
||||||
attribute: href
|
attribute: href
|
||||||
date_elapsed:
|
date_elapsed:
|
||||||
# time type: time elapsed (default)
|
# time type: time elapsed (default)
|
||||||
selector: td:nth-child(4) > time[title]
|
selector: td.rowfollow:nth-child(3) > time[title]
|
||||||
attribute: title
|
attribute: title
|
||||||
optional: true
|
optional: true
|
||||||
filters:
|
filters:
|
||||||
@@ -138,7 +137,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:nth-child(4):not(time[title]) > time
|
selector: td.rowfollow:nth-child(3):not(time[title])
|
||||||
optional: true
|
optional: true
|
||||||
filters:
|
filters:
|
||||||
- name: append
|
- name: append
|
||||||
@@ -148,13 +147,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:nth-child(5)
|
selector: td.rowfollow:nth-child(4)
|
||||||
seeders:
|
seeders:
|
||||||
selector: td:nth-child(6)
|
selector: td.rowfollow:nth-child(5)
|
||||||
leechers:
|
leechers:
|
||||||
selector: td:nth-child(7)
|
selector: td.rowfollow:nth-child(6)
|
||||||
grabs:
|
grabs:
|
||||||
selector: td:nth-child(8)
|
selector: td.rowfollow:nth-child(7)
|
||||||
downloadvolumefactor_custom:
|
downloadvolumefactor_custom:
|
||||||
selector: td.embedded > img.arrowdown + b
|
selector: td.embedded > img.arrowdown + b
|
||||||
optional: true
|
optional: true
|
||||||
@@ -169,19 +168,19 @@ search:
|
|||||||
args: (.*)X
|
args: (.*)X
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
case:
|
case:
|
||||||
img.pro_free: 0
|
span.free: 0
|
||||||
img.pro_free2up: 0
|
span.twoupfree: 0
|
||||||
img.pro_custom: "{{ .Result.downloadvolumefactor_custom }}"
|
span.custompromotion: "{{ .Result.downloadvolumefactor_custom }}"
|
||||||
img.pro_50pctdown: 0.5
|
span.halfdown: 0.5
|
||||||
img.pro_50pctdown2up: 0.5
|
span.twouphalfdown: 0.5
|
||||||
img.pro_30pctdown: 0.3
|
span.thirtypercent: 0.3
|
||||||
"*": 1
|
"*": 1
|
||||||
uploadvolumefactor:
|
uploadvolumefactor:
|
||||||
case:
|
case:
|
||||||
img.pro_50pctdown2up: 2
|
span.twouphalfdown: 2
|
||||||
img.pro_free2up: 2
|
span.twoupfree: 2
|
||||||
img.pro_2up: 2
|
span.twoup: 2
|
||||||
img.pro_custom: "{{ .Result.uploadvolumefactor_custom }}"
|
span.custompromotion: "{{ .Result.uploadvolumefactor_custom }}"
|
||||||
"*": 1
|
"*": 1
|
||||||
description:
|
description:
|
||||||
selector: td:nth-child(2)
|
selector: td:nth-child(2)
|
||||||
|
Reference in New Issue
Block a user