mirror of https://github.com/Jackett/Jackett
fanoin: add imdbid search. #4859
also add config sort options add uhd category add movie-search fix date selectors no engine tag
This commit is contained in:
parent
7f003427fd
commit
324afbcd0f
|
@ -49,10 +49,36 @@
|
||||||
- {id: 23, cat: TV/Sport, desc: "TV/Sport"}
|
- {id: 23, cat: TV/Sport, desc: "TV/Sport"}
|
||||||
- {id: 51, cat: Console, desc: "Games/Misc"}
|
- {id: 51, cat: Console, desc: "Games/Misc"}
|
||||||
- {id: 1, cat: PC/0day, desc: "Appz/PC ISO"}
|
- {id: 1, cat: PC/0day, desc: "Appz/PC ISO"}
|
||||||
|
- {id: 55, cat: Movies/UHD, desc: "Movies/4K"}
|
||||||
|
|
||||||
modes:
|
modes:
|
||||||
search: [q]
|
search: [q, imdbid]
|
||||||
tv-search: [q, season, ep]
|
tv-search: [q, season, ep, imdbid]
|
||||||
|
movie-search: [q, imdbid]
|
||||||
|
|
||||||
|
settings:
|
||||||
|
- name: username
|
||||||
|
type: text
|
||||||
|
label: Username
|
||||||
|
- name: password
|
||||||
|
type: password
|
||||||
|
label: Password
|
||||||
|
- name: sort
|
||||||
|
type: select
|
||||||
|
label: Sort requested from site
|
||||||
|
default: "4"
|
||||||
|
options:
|
||||||
|
"4": "created"
|
||||||
|
"7": "seeders"
|
||||||
|
"5": "size"
|
||||||
|
"1": "title"
|
||||||
|
- name: type
|
||||||
|
type: select
|
||||||
|
label: Order requested from site
|
||||||
|
default: "desc"
|
||||||
|
options:
|
||||||
|
"desc": "desc"
|
||||||
|
"asc": "asc"
|
||||||
|
|
||||||
login:
|
login:
|
||||||
path: takelogin.php
|
path: takelogin.php
|
||||||
|
@ -73,13 +99,16 @@
|
||||||
paths:
|
paths:
|
||||||
- path: browse_old.php
|
- path: browse_old.php
|
||||||
inputs:
|
inputs:
|
||||||
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
|
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
||||||
search: "{{ .Query.Keywords }}"
|
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{else}}{{ .Keywords }}{{end}}"
|
||||||
|
# 0 active 1 incldead 2 onlydead
|
||||||
incldead: 1
|
incldead: 1
|
||||||
|
sort: "{{ .Config.sort }}"
|
||||||
|
type: "{{ .Config.type }}"
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: tr.browse_actions
|
selector: tr.browse_actions
|
||||||
filters:
|
|
||||||
- name: andmatch
|
|
||||||
fields:
|
fields:
|
||||||
title:
|
title:
|
||||||
selector: a[href^="details.php?id="]
|
selector: a[href^="details.php?id="]
|
||||||
|
@ -113,7 +142,7 @@
|
||||||
- name: regexp
|
- name: regexp
|
||||||
args: (\d+)
|
args: (\d+)
|
||||||
date:
|
date:
|
||||||
selector: td:nth-child(2) > small:nth-last-child(2)
|
selector: td:nth-child(2) > small:nth-last-child(2), td:nth-child(2) > small
|
||||||
filters:
|
filters:
|
||||||
- name: replace
|
- name: replace
|
||||||
args: ["Šodien", "Today"]
|
args: ["Šodien", "Today"]
|
||||||
|
@ -121,12 +150,13 @@
|
||||||
args: ["Vakar", "Yesterday"]
|
args: ["Vakar", "Yesterday"]
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
case:
|
case:
|
||||||
img[alt="Free"]: "0"
|
img[alt="Free"]: 0
|
||||||
"*": "1"
|
"*": 1
|
||||||
uploadvolumefactor:
|
uploadvolumefactor:
|
||||||
case:
|
case:
|
||||||
img[alt="x2"]: "2"
|
img[alt="x2"]: 2
|
||||||
"*": "1"
|
"*": 1
|
||||||
description:
|
description:
|
||||||
selector: td:nth-child(2) > small:nth-last-child(1)
|
selector: td:nth-child(2) > small:nth-last-child(1)
|
||||||
remove: a[href^="details.php?id="]
|
remove: a[href^="details.php?id="]
|
||||||
|
# engine n/a
|
||||||
|
|
Loading…
Reference in New Issue