mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
Added a possibility to show donor/vip torrent (#4265)
This commit is contained in:
@@ -70,12 +70,23 @@
|
|||||||
- {id: 74, cat: Books/Comics, desc: "Manga"}
|
- {id: 74, cat: Books/Comics, desc: "Manga"}
|
||||||
- {id: 87, cat: Books, desc: "Giornali"}
|
- {id: 87, cat: Books, desc: "Giornali"}
|
||||||
|
|
||||||
|
|
||||||
modes:
|
modes:
|
||||||
search: [q]
|
search: [q]
|
||||||
tv-search: [q, season, ep]
|
tv-search: [q, season, ep]
|
||||||
movie-search: [q]
|
movie-search: [q]
|
||||||
|
|
||||||
|
settings:
|
||||||
|
- name: username
|
||||||
|
type: text
|
||||||
|
label: Username
|
||||||
|
- name: password
|
||||||
|
type: password
|
||||||
|
label: Password
|
||||||
|
- name: donor
|
||||||
|
type: checkbox
|
||||||
|
label: Show donor torrent? (Enable if you're a donor)
|
||||||
|
default: false
|
||||||
|
|
||||||
login:
|
login:
|
||||||
path: index.php?page=login
|
path: index.php?page=login
|
||||||
method: post
|
method: post
|
||||||
@@ -98,7 +109,7 @@
|
|||||||
options: "0"
|
options: "0"
|
||||||
active: "0"
|
active: "0"
|
||||||
rows:
|
rows:
|
||||||
selector: table > tbody > tr > td > table.lista > tbody > tr:has(a[href^="index.php?page=torrent-details&id="])
|
selector: table > tbody > tr > td > table.lista > tbody > tr:has(a[href^="index.php?page=torrent-details&id="]){{if .Config.donor }}{{else}}:not(:has(img[src*="keditbookmarks.png"])){{end}}
|
||||||
fields:
|
fields:
|
||||||
download:
|
download:
|
||||||
selector: a[href^="index.php?page=torrent-details&id="]
|
selector: a[href^="index.php?page=torrent-details&id="]
|
||||||
|
Reference in New Issue
Block a user