r3vwtf: update cats and vf selectors, add freeleech search and sort (#14648)

no x2 torrents available, but the example image uses `img[src="pic/doubleseed.gif"]`, so just added `$` to make sure
This commit is contained in:
ilike2burnthing
2023-08-21 13:13:51 +01:00
committed by GitHub
parent adf0255a01
commit 4025381ecc
2 changed files with 40 additions and 5 deletions

View File

@@ -496,7 +496,7 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht
* PuntoTorrent * PuntoTorrent
* PuTao * PuTao
* PWTorrents (PWT) * PWTorrents (PWT)
* R3V WTF! [![(invite needed)][inviteneeded]](#) * R3V WTF!
* Racing4Everyone (R4E) * Racing4Everyone (R4E)
* RacingForMe (RFM) * RacingForMe (RFM)
* RareShare2 * RareShare2

View File

@@ -27,6 +27,7 @@ caps:
- {id: 40, cat: Audio/Video, desc: "Music Videos"} - {id: 40, cat: Audio/Video, desc: "Music Videos"}
- {id: 22, cat: Audio/Lossless, desc: "Music/Flac"} - {id: 22, cat: Audio/Lossless, desc: "Music/Flac"}
- {id: 51, cat: PC/Games, desc: "PC GAMES"} - {id: 51, cat: PC/Games, desc: "PC GAMES"}
- {id: 53, cat: Audio, desc: "Promo Music"}
- {id: 23, cat: TV, desc: "Tv/Packs"} - {id: 23, cat: TV, desc: "Tv/Packs"}
- {id: 16, cat: TV/HD, desc: "Tv/x264"} - {id: 16, cat: TV/HD, desc: "Tv/x264"}
- {id: 49, cat: TV/HD, desc: "Tv/X265"} - {id: 49, cat: TV/HD, desc: "Tv/X265"}
@@ -41,6 +42,38 @@ caps:
music-search: [q] music-search: [q]
book-search: [q] book-search: [q]
settings:
- name: username
type: text
label: Username
- name: password
type: password
label: Password
- name: freeleech
type: checkbox
label: Search freeleech only
default: false
- name: sort
type: select
label: Sort requested from site
default: 4
options:
4: created
7: seeders
5: size
1: title
- name: type
type: select
label: Order requested from site
default: 2
options:
2: desc
1: asc
- name: info
type: info
label: Results Per Page
default: For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile.
login: login:
path: login.php path: login.php
method: form method: form
@@ -65,11 +98,13 @@ search:
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}" $raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
search: "{{ .Keywords }}" search: "{{ .Keywords }}"
# title descr genre all # title descr genre all
searchin: "title" searchin: title
# 0 active 1 incldead 2 onlydead # 0 active 1 incldead 2 onlydead
incldead: 1 incldead: 1
# 1 yes 0 no # 1 yes 0 no
"only_free": 0 only_free: "{{ if .Config.freeleech }}1{{ else }}0{{ end }}"
sort: "{{ .Config.sort }}"
type: "{{ .Config.type }}"
rows: rows:
selector: table[cellpadding="3"] > tbody > tr:has(a[href^="download.php?torrent="]) selector: table[cellpadding="3"] > tbody > tr:has(a[href^="download.php?torrent="])
@@ -122,11 +157,11 @@ search:
selector: td:nth-last-child(2) selector: td:nth-last-child(2)
downloadvolumefactor: downloadvolumefactor:
case: case:
a.info:contains("Free"): 0 a.info:contains("Freeleech"): 0
"*": 1 "*": 1
uploadvolumefactor: uploadvolumefactor:
case: case:
img[src="./pic/doubleseed.gif"]: 0 img[src$="pic/doubleseed.gif"]: 0
"*": 1 "*": 1
minimumratio: minimumratio:
text: 1.0 text: 1.0