From 4025381ecc07567aa13f8cf284af0f198c0a905d Mon Sep 17 00:00:00 2001 From: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com> Date: Mon, 21 Aug 2023 13:13:51 +0100 Subject: [PATCH] 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 --- README.md | 2 +- src/Jackett.Common/Definitions/r3vwtf.yml | 43 ++++++++++++++++++++--- 2 files changed, 40 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index bab41070c..a9feadf78 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/src/Jackett.Common/Definitions/r3vwtf.yml b/src/Jackett.Common/Definitions/r3vwtf.yml index 1f4ed4283..ab31155e0 100644 --- a/src/Jackett.Common/Definitions/r3vwtf.yml +++ b/src/Jackett.Common/Definitions/r3vwtf.yml @@ -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 Torrents per page: setting to 100 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