1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-03-05 11:18:14 +00:00

theumpire: update

add freeleech
add incldead
add MR and MST
correct date parsing
add sort
add tpp info
This commit is contained in:
Garfield69 2021-07-08 16:21:20 +12:00
parent a0b080035f
commit 708ad03393

View file

@ -50,6 +50,38 @@ caps:
search: [q]
tv-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
@ -65,6 +97,7 @@ login:
- selector: table:contains("Login failed!")
test:
path: main.php
selector: a[href^="logout.php?id="]
search:
paths:
@ -72,6 +105,8 @@ search:
inputs:
$raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}"
search: "{{ .Keywords }}"
# 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
@ -88,13 +123,14 @@ search:
args: cat
title:
filters:
selector: td:nth-child(2) b
download:
selector: a[href^="download.php/"]
attribute: href
selector: a[href^="details.php?id="]
attribute: title
details:
selector: a[href^="details.php?id="]
attribute: href
download:
selector: a[href^="download.php/"]
attribute: href
grabs:
selector: td:nth-child(8)
filters:
@ -113,8 +149,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"
downloadvolumefactor:
case:
"font[color=\"green\"]": 0
@ -124,4 +162,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.97