mirror of https://github.com/Jackett/Jackett
takeabyte: add freeleech filter #9456
also add imdb search support #4859 add imdb display add minimumratio and minimumseedtime
This commit is contained in:
parent
a35385e727
commit
b07644a4d5
|
@ -55,9 +55,9 @@ caps:
|
||||||
- {id: 53, cat: XXX/Packs, desc: "XXX-Pack"}
|
- {id: 53, cat: XXX/Packs, desc: "XXX-Pack"}
|
||||||
|
|
||||||
modes:
|
modes:
|
||||||
search: [q]
|
search: [q, imdbid]
|
||||||
tv-search: [q, season, ep]
|
tv-search: [q, season, ep, imdbid]
|
||||||
movie-search: [q]
|
movie-search: [q, imdbid]
|
||||||
music-search: [q]
|
music-search: [q]
|
||||||
|
|
||||||
settings:
|
settings:
|
||||||
|
@ -67,6 +67,10 @@ settings:
|
||||||
- name: password
|
- name: password
|
||||||
type: password
|
type: password
|
||||||
label: Password
|
label: Password
|
||||||
|
- name: freeleech
|
||||||
|
type: checkbox
|
||||||
|
label: Search freeleech only
|
||||||
|
default: false
|
||||||
- name: sort
|
- name: sort
|
||||||
type: select
|
type: select
|
||||||
label: Sort requested from site
|
label: Sort requested from site
|
||||||
|
@ -101,14 +105,22 @@ login:
|
||||||
|
|
||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
# http://takeabyte-nordic.org/browse.php?search=first+man&searchin=title&incldead=0
|
|
||||||
# http://takeabyte-nordic.org/browse.php?c9=1&c26=1&c3=1&search=%22first+man%22&searchin=title&incldead=0
|
# http://takeabyte-nordic.org/browse.php?c9=1&c26=1&c3=1&search=%22first+man%22&searchin=title&incldead=0
|
||||||
|
# https://takeabyte-nordic.org/browse.php?search=&searchin=title&incldead=0&audio=0&subs=0&only_free=1
|
||||||
|
# https://takeabyte-nordic.org/browse.php?search=tt2702920&searchin=imdb&incldead=1&audio=0&subs=0
|
||||||
- path: browse.php
|
- path: browse.php
|
||||||
inputs:
|
inputs:
|
||||||
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
||||||
search: "{{ .Keywords }}"
|
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
|
||||||
searchin: title
|
# title, descr, genre, imdb, all
|
||||||
|
searchin: "{{ if .Query.IMDBID }}imdb{{ else }}title{{ end }}"
|
||||||
|
# 0 active, 1 incldead, 2 onlydead
|
||||||
incldead: 1
|
incldead: 1
|
||||||
|
# 0 all, 2 English, etc.
|
||||||
|
audio: 0
|
||||||
|
# 0 all, 2 Eng, etc
|
||||||
|
subs: 0
|
||||||
|
only_free: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
|
||||||
sort: "{{ .Config.sort }}"
|
sort: "{{ .Config.sort }}"
|
||||||
type: "{{ .Config.type }}"
|
type: "{{ .Config.type }}"
|
||||||
|
|
||||||
|
@ -135,6 +147,10 @@ search:
|
||||||
filters:
|
filters:
|
||||||
- name: replace
|
- name: replace
|
||||||
args: ["details.php?id=", "download.php?torrent="]
|
args: ["details.php?id=", "download.php?torrent="]
|
||||||
|
imdb:
|
||||||
|
selector: a[href*="imdb.com/title/tt"]
|
||||||
|
attribute: href
|
||||||
|
optional: true
|
||||||
size:
|
size:
|
||||||
selector: td:nth-last-child(4)
|
selector: td:nth-last-child(4)
|
||||||
files:
|
files:
|
||||||
|
@ -171,4 +187,9 @@ search:
|
||||||
case:
|
case:
|
||||||
"b:contains(\"[Free and Double]\")": 2
|
"b:contains(\"[Free and Double]\")": 2
|
||||||
"*": 1
|
"*": 1
|
||||||
|
minimumratio:
|
||||||
|
text: 1.0
|
||||||
|
minimumseedtime:
|
||||||
|
# 2 days (as seconds = 2 x 24 x 60 x 60)
|
||||||
|
text: 172800
|
||||||
# U-232 V4
|
# U-232 V4
|
||||||
|
|
Loading…
Reference in New Issue