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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
* PuTao
* PWTorrents (PWT)
* R3V WTF! [![(invite needed)][inviteneeded]](#)
* R3V WTF!
* Racing4Everyone (R4E)
* RacingForMe (RFM)
* RareShare2

View File

@ -27,6 +27,7 @@ caps:
- {id: 40, cat: Audio/Video, desc: "Music Videos"}
- {id: 22, cat: Audio/Lossless, desc: "Music/Flac"}
- {id: 51, cat: PC/Games, desc: "PC GAMES"}
- {id: 53, cat: Audio, desc: "Promo Music"}
- {id: 23, cat: TV, desc: "Tv/Packs"}
- {id: 16, cat: TV/HD, desc: "Tv/x264"}
- {id: 49, cat: TV/HD, desc: "Tv/X265"}
@ -41,6 +42,38 @@ caps:
music-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:
path: login.php
method: form
@ -65,11 +98,13 @@ search:
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
search: "{{ .Keywords }}"
# title descr genre all
searchin: "title"
searchin: title
# 0 active 1 incldead 2 onlydead
incldead: 1
# 1 yes 0 no
"only_free": 0
only_free: "{{ if .Config.freeleech }}1{{ else }}0{{ end }}"
sort: "{{ .Config.sort }}"
type: "{{ .Config.type }}"
rows:
selector: table[cellpadding="3"] > tbody > tr:has(a[href^="download.php?torrent="])
@ -122,11 +157,11 @@ search:
selector: td:nth-last-child(2)
downloadvolumefactor:
case:
a.info:contains("Free"): 0
a.info:contains("Freeleech"): 0
"*": 1
uploadvolumefactor:
case:
img[src="./pic/doubleseed.gif"]: 0
img[src$="pic/doubleseed.gif"]: 0
"*": 1
minimumratio:
text: 1.0