mirror of
https://github.com/Jackett/Jackett
synced 2025-02-25 23:52:53 +00:00
engine tag luminance. #6822
This commit is contained in:
parent
3271efe478
commit
dcd10211e2
4 changed files with 34 additions and 24 deletions
|
@ -85,14 +85,16 @@
|
|||
- path: torrents.php
|
||||
inputs:
|
||||
$raw: "{{range .Categories}}filter_cat[{{.}}]=1&{{end}}"
|
||||
title: "{{ .Query.Keywords }}"
|
||||
title: "{{ .Keywords }}"
|
||||
order_by: time
|
||||
order_way: desc
|
||||
action: basic
|
||||
searchsubmit: 1
|
||||
|
||||
rows:
|
||||
# exclude redbar torrents
|
||||
selector: table#torrent_table > tbody > tr[class^="torrent row"]
|
||||
|
||||
fields:
|
||||
download:
|
||||
selector: a[href^="/torrents.php?action=download&id="]
|
||||
|
@ -106,7 +108,7 @@
|
|||
attribute: href
|
||||
filters:
|
||||
- name: regexp
|
||||
args: "\\[(\\d+?)\\]"
|
||||
args: "(\\d+)]=1"
|
||||
details:
|
||||
selector: a[href^="/torrents.php?id="]
|
||||
attribute: href
|
||||
|
@ -141,8 +143,8 @@
|
|||
downloadvolumefactor:
|
||||
case:
|
||||
span.icon[title*="Freeleech"]: 0
|
||||
"img[alt=\"Freeleech\"]": "0"
|
||||
"*": "1"
|
||||
"img[alt=\"Freeleech\"]": 0
|
||||
"*": 1
|
||||
uploadvolumefactor:
|
||||
case:
|
||||
"*": "1"
|
||||
text: 1
|
||||
# luminance
|
||||
|
|
|
@ -53,14 +53,16 @@
|
|||
- path: torrents.php
|
||||
inputs:
|
||||
$raw: "{{range .Categories}}filter_cat[{{.}}]=1&{{end}}"
|
||||
title: "{{ .Query.Keywords }}"
|
||||
title: "{{ .Keywords }}"
|
||||
order_by: time
|
||||
order_way: desc
|
||||
action: basic
|
||||
searchsubmit: 1
|
||||
|
||||
rows:
|
||||
# exclude redbar torrents
|
||||
selector: table#torrent_table > tbody > tr[class^="torrent row"]
|
||||
|
||||
fields:
|
||||
download:
|
||||
selector: a[href^="torrents.php?action=download&id="]
|
||||
|
@ -74,7 +76,7 @@
|
|||
attribute: href
|
||||
filters:
|
||||
- name: regexp
|
||||
args: "\\[(\\d+?)\\]"
|
||||
args: "(\\d+)]=1"
|
||||
details:
|
||||
selector: a[href^="torrents.php?id="]
|
||||
attribute: href
|
||||
|
@ -107,8 +109,8 @@
|
|||
selector: td:nth-child(9)
|
||||
downloadvolumefactor:
|
||||
case:
|
||||
"img[alt=\"Freeleech\"]": "0"
|
||||
"*": "1"
|
||||
"img[alt=\"Freeleech\"]": 0
|
||||
"*": 1
|
||||
uploadvolumefactor:
|
||||
case:
|
||||
"*": "1"
|
||||
text: 1
|
||||
# luminance
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
|
||||
modes:
|
||||
search: [q]
|
||||
tv-search: [q, season, ep]
|
||||
tv-search: [q]
|
||||
movie-search: [q]
|
||||
|
||||
settings:
|
||||
|
@ -74,7 +74,7 @@
|
|||
password: "{{ .Config.password }}"
|
||||
cinfo: "1536|864|24|-780"
|
||||
iplocked: 0
|
||||
submit: "login"
|
||||
submit: login
|
||||
selectorinputs:
|
||||
token:
|
||||
selector: input[name="token"]
|
||||
|
@ -82,13 +82,8 @@
|
|||
error:
|
||||
- selector: table#maincontent tr td div div#messagebarA
|
||||
|
||||
ratio:
|
||||
path: /
|
||||
selector: td:has(a[href="/articles.php?topic=ratio"]) > td
|
||||
|
||||
search:
|
||||
paths:
|
||||
#https://nostalgic.to/torrents.php?filter_cat%5B32%5D=1&filter_cat%5B27%5D=1&order_by=time&order_way=desc&searchtext=&action=advanced&title=terminator&sizeall=&sizetype=gb&sizerange=0.01&filelist=&taglist=&autocomplete_toggle=1
|
||||
- path: torrents.php
|
||||
inputs:
|
||||
$raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}"
|
||||
|
@ -108,20 +103,31 @@
|
|||
selector: table#torrent_table tr:has(a[href^="torrents.php?action=download"])
|
||||
|
||||
fields:
|
||||
title:
|
||||
selector: a[href^="/torrents.php?id="]
|
||||
category:
|
||||
selector: td.cats_col div a
|
||||
selector: a[href^="/torrents.php?filter_cat"]
|
||||
attribute: href
|
||||
filters:
|
||||
- name: regexp
|
||||
args: "(\\d+)]=1"
|
||||
title:
|
||||
selector: a[href^="/torrents.php?id="]
|
||||
details:
|
||||
selector: a[href^="/torrents.php?id="]
|
||||
attribute: href
|
||||
download:
|
||||
selector: a[href^="torrents.php?action=download"]
|
||||
attribute: href
|
||||
description:
|
||||
selector: div.tags
|
||||
banner:
|
||||
selector: td:nth-child(2) > script
|
||||
filters:
|
||||
- name: regexp
|
||||
args: "src=\\\\\"(.*?)\\\\\">"
|
||||
- name: re_replace
|
||||
args: ["\\\\(.)", "$1"]
|
||||
- name: replace
|
||||
args: ["/static/common/noartwork/noimage.png", ""]
|
||||
files:
|
||||
selector: td:nth-last-child(8)
|
||||
date:
|
||||
|
@ -142,4 +148,4 @@
|
|||
"*": 1
|
||||
uploadvolumefactor:
|
||||
text: 1
|
||||
# engine n/a
|
||||
# luminance
|
||||
|
|
|
@ -161,4 +161,4 @@
|
|||
"*": 1
|
||||
uploadvolumefactor:
|
||||
text: 1
|
||||
# engine n/a
|
||||
# luminance
|
||||
|
|
Loading…
Reference in a new issue