mirror of
https://github.com/Jackett/Jackett
synced 2025-02-23 06:40:57 +00:00
worldofp2p: enable imdbid support. for #4859
This commit is contained in:
parent
77e9db411e
commit
43213b8ff4
1 changed files with 6 additions and 4 deletions
|
@ -68,8 +68,9 @@
|
||||||
- {id: 6, cat: XXX/XviD, desc: "xXx-XviD"}
|
- {id: 6, cat: XXX/XviD, desc: "xXx-XviD"}
|
||||||
|
|
||||||
modes:
|
modes:
|
||||||
search: [q]
|
search: [q, imdbid]
|
||||||
tv-search: [q, season, ep]
|
tv-search: [q, season, ep, imdbid]
|
||||||
|
movie-search: [q, imdbid]
|
||||||
|
|
||||||
login:
|
login:
|
||||||
path: login.php
|
path: login.php
|
||||||
|
@ -89,9 +90,10 @@
|
||||||
- path: browse.php
|
- path: browse.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}}"
|
||||||
incldead: "1"
|
incldead: "1"
|
||||||
searchin: "title"
|
# searchin: title, descr, genre, all
|
||||||
|
searchin: "{{if .Query.IMDBID}}all{{else}}title{{end}}"
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: table > tbody > tr:has(a[href^="download.php?torrent="])
|
selector: table > tbody > tr:has(a[href^="download.php?torrent="])
|
||||||
|
|
Loading…
Reference in a new issue