mirror of
https://github.com/Jackett/Jackett
synced 2025-03-11 14:44:46 +00:00
gimmepeers: tvmazeid search, freeleech filter and dlvf, strip req from titles. #15089
This commit is contained in:
parent
4b17b77c02
commit
80db436407
1 changed files with 15 additions and 6 deletions
|
@ -45,7 +45,7 @@ caps:
|
|||
|
||||
modes:
|
||||
search: [q]
|
||||
tv-search: [q, season, ep, genre]
|
||||
tv-search: [q, season, ep, tvmazeid, genre]
|
||||
movie-search: [q, imdbid, genre]
|
||||
music-search: [q]
|
||||
book-search: [q]
|
||||
|
@ -57,6 +57,10 @@ settings:
|
|||
- name: password
|
||||
type: password
|
||||
label: Password
|
||||
- name: freeleech
|
||||
type: checkbox
|
||||
label: Filter freeleech only
|
||||
default: false
|
||||
- name: sort
|
||||
type: select
|
||||
label: Sort requested from site
|
||||
|
@ -95,16 +99,16 @@ search:
|
|||
- path: browse.php
|
||||
inputs:
|
||||
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
||||
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}{{ if .Query.Genre }} genre:{{ .Query.Genre }}{{ else }}{{ end }}"
|
||||
# 0 title, 1 nfo, 2 filelist, 3 title+nfo, 4 imdb
|
||||
blah: "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if .Query.Genre }}3{{ else }}{{ end }}{{ if or .Query.IMDBID .Query.Genre }}{{ else }}0{{ end }}"
|
||||
search: "{{ if or .Query.IMDBID .Query.TVMazeID }}{{ or .Query.IMDBID .Query.TVMazeID }}{{ else }}{{ .Keywords }}{{ end }}{{ if .Query.Genre }} genre:{{ .Query.Genre }}{{ else }}{{ end }}"
|
||||
# 0 title, 1 nfo, 2 filelist, 3 title+nfo, 4 imdb, 5 tvmaze
|
||||
blah: "{{ if .Query.IMDBID }}4{{ else }}{{ end }}{{ if .Query.TVMazeID }}5{{ else }}{{ end }}{{ if .Query.Genre }}3{{ else }}{{ end }}{{ if or .Query.IMDBID .Query.TVMazeID .Query.Genre }}{{ else }}0{{ end }}"
|
||||
# 0 active only, 1 dead only
|
||||
incldead: 0
|
||||
sort: "{{ .Config.sort }}"
|
||||
type: "{{ .Config.type }}"
|
||||
|
||||
rows:
|
||||
selector: table.browsetable:not(:has(td.gp_sub_nav):contains("Top 25")) tbody tr:has(a[href^="download.php"])
|
||||
selector: "table.browsetable:not(:has(td.gp_sub_nav):contains(\"Top 25\")) tbody tr:has(a[href^=\"download.php\"]){{ if .Config.freeleech }}:has(img[src=\"/core/design/icons/fleech.png\"]){{ else }}{{ end }}"
|
||||
|
||||
fields:
|
||||
category:
|
||||
|
@ -115,6 +119,9 @@ search:
|
|||
args: cat
|
||||
title:
|
||||
selector: a[href^="details.php?id="]
|
||||
filters:
|
||||
- name: re_replace
|
||||
args: ["(?i)\\s*{REQ}$", ""]
|
||||
details:
|
||||
selector: a[href^="details.php?id="]
|
||||
attribute: href
|
||||
|
@ -156,7 +163,9 @@ search:
|
|||
leechers:
|
||||
selector: td:nth-last-child(2)
|
||||
downloadvolumefactor:
|
||||
text: 1
|
||||
case:
|
||||
img[src="/core/design/icons/fleech.png"]: 0
|
||||
"*": 1
|
||||
uploadvolumefactor:
|
||||
text: 1
|
||||
# engine n/a
|
||||
|
|
Loading…
Add table
Reference in a new issue