mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
polishsource: add imdbid search. #4859
This commit is contained in:
@@ -23,9 +23,9 @@
|
|||||||
- {id: 13, cat: XXX, desc: "XXX"}
|
- {id: 13, cat: XXX, desc: "XXX"}
|
||||||
|
|
||||||
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]
|
||||||
|
|
||||||
settings:
|
settings:
|
||||||
- name: username
|
- name: username
|
||||||
@@ -72,10 +72,11 @@
|
|||||||
|
|
||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
|
# https://polishsource.cz/browse.php?search=tt1598778&incldead=1&scene=0&pl=0&sub=&search_in=nfo
|
||||||
- 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}}"
|
||||||
# 0 onlyactive 1 all 2 onlydead
|
# 0 onlyactive 1 all 2 onlydead
|
||||||
incldead: 1
|
incldead: 1
|
||||||
# 0 all 1 scene 2 notscene 3 internal
|
# 0 all 1 scene 2 notscene 3 internal
|
||||||
@@ -85,7 +86,7 @@
|
|||||||
# subcat blank=all
|
# subcat blank=all
|
||||||
sub: ""
|
sub: ""
|
||||||
# title both nfo
|
# title both nfo
|
||||||
search_in: title
|
search_in: "{{ if .Query.IMDBID }}nfo{{else}}title{{end}}"
|
||||||
sort: "{{ .Config.sort }}"
|
sort: "{{ .Config.sort }}"
|
||||||
type: "{{ .Config.type }}"
|
type: "{{ .Config.type }}"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user