1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-02-23 14:51:01 +00:00

Added a possibility to show donor/vip torrent (#4265)

This commit is contained in:
Jorman 2018-12-03 00:15:49 +01:00 committed by garfield69
parent 723eae7792
commit 0c9acc990d

View file

@ -70,12 +70,23 @@
- {id: 74, cat: Books/Comics, desc: "Manga"}
- {id: 87, cat: Books, desc: "Giornali"}
modes:
search: [q]
tv-search: [q, season, ep]
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:
path: index.php?page=login
method: post
@ -98,7 +109,7 @@
options: "0"
active: "0"
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:
download:
selector: a[href^="index.php?page=torrent-details&id="]