1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-03-06 11:48:49 +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] search: [q]
tv-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: login:
path: login.php path: login.php
method: form method: form
@ -65,6 +97,7 @@ login:
- selector: table:contains("Login failed!") - selector: table:contains("Login failed!")
test: test:
path: main.php path: main.php
selector: a[href^="logout.php?id="]
search: search:
paths: paths:
@ -72,6 +105,8 @@ search:
inputs: inputs:
$raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}" $raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}"
search: "{{ .Keywords }}" search: "{{ .Keywords }}"
# 0 active, 1 incldead, 2 onlydead, 3 free, 4 exclusive, 5 neutral
incldead: "{{ if .Config.freeleech }}3{{ else }}1{{ end }}"
titleonly: 1 titleonly: 1
# 0 Exact, 1 Fuzzy, 3 Parsed, 4 Simple # 2 Pure is not used # 0 Exact, 1 Fuzzy, 3 Parsed, 4 Simple # 2 Pure is not used
nonboolean: 0 nonboolean: 0
@ -88,13 +123,14 @@ search:
args: cat args: cat
title: title:
filters: filters:
selector: td:nth-child(2) b selector: a[href^="details.php?id="]
download: attribute: title
selector: a[href^="download.php/"]
attribute: href
details: details:
selector: a[href^="details.php?id="] selector: a[href^="details.php?id="]
attribute: href attribute: href
download:
selector: a[href^="download.php/"]
attribute: href
grabs: grabs:
selector: td:nth-child(8) selector: td:nth-child(8)
filters: filters:
@ -113,8 +149,10 @@ search:
date: date:
selector: td:nth-child(6) selector: td:nth-child(6)
filters: filters:
- name: regexp - name: append
args: (\d{4}-\d{2}-\d{2}) args: " +00:00" # auto adjusted by site account profile
- name: dateparse
args: "2006-01-0215:04:05 -07:00"
downloadvolumefactor: downloadvolumefactor:
case: case:
"font[color=\"green\"]": 0 "font[color=\"green\"]": 0
@ -124,4 +162,9 @@ search:
case: case:
"font[color=\"green\"]": 0 "font[color=\"green\"]": 0
"*": 1 "*": 1
# engine tbd minimumratio:
text: 1.0
minimumseedtime:
# 1 day (as seconds = 24 x 60 x 60)
text: 86400
# XBTT TCG 0.97