thegeeks: update

add freeleech
add MR and MST
correct date parsing
add sort
add tpp info
This commit is contained in:
Garfield69 2021-07-08 16:05:34 +12:00
parent 7a27bb6eb4
commit a0b080035f
2 changed files with 48 additions and 7 deletions

View File

@ -500,7 +500,7 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht
* TellyTorrent
* teracod (Movie Zone)
* The Falling Angels (TFA)
* The Geeks [![(invite needed)][inviteneeded]](#)
* The Geeks
* The Horror Charnel (THC)
* The New Retro
* The Occult [![(invite needed)][inviteneeded]](#)

View File

@ -92,6 +92,38 @@ caps:
modes:
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: added
options:
added: created
seeders: seeders
size: size
name: title
- name: type
type: select
label: Order requested from site
default: DESC
options:
DESC: desc
ASC: asc
- name: info_tpp
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
@ -107,6 +139,7 @@ login:
- selector: table:contains("Login failed!")
test:
path: main.php
selector: a[href^="logout.php?id="]
search:
paths:
@ -114,7 +147,8 @@ search:
inputs:
$raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}"
search: "{{ .Keywords }}"
incldead: 1
# 0 active, 1 incldead, 2 onlydead, 3 free, 4 exclusive, 5 neutral
incldead: "{{ if .Config.freeleech }}3{{ else }}1{{ end }}"
titleonly: 1
# 0 Exact, 1 Fuzzy, 3 Parsed, 4 Simple # 2 Pure is not used
nonboolean: 0
@ -130,8 +164,8 @@ search:
- name: querystring
args: cat
title:
filters:
selector: td:nth-child(2) b
selector: a[href^="details.php?id="]
attribute: title
details:
selector: a[href^="details.php?id="]
attribute: href
@ -143,8 +177,10 @@ search:
date:
selector: td:nth-child(6)
filters:
- name: regexp
args: (\d{4}-\d{2}-\d{2})
- name: append
args: " +00:00" # auto adjusted by site account profile
- name: dateparse
args: "2006-01-0215:04:05 -07:00"
size:
selector: td:nth-child(7)
grabs:
@ -167,4 +203,9 @@ search:
case:
"font[color=\"green\"]": 0
"*": 1
# engine tbd
minimumratio:
text: 1.0
minimumseedtime:
# 1 day (as seconds = 24 x 60 x 60)
text: 86400
# XBTT TCG 0.98