mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
the-madhouse: add imdbid search
and silver DLVF
This commit is contained in:
@@ -53,9 +53,9 @@
|
|||||||
- {id: 37, cat: TV/Sport, desc: "TV Sports"}
|
- {id: 37, cat: TV/Sport, desc: "TV Sports"}
|
||||||
|
|
||||||
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
|
||||||
@@ -110,13 +110,14 @@
|
|||||||
- path: browse.php
|
- path: browse.php
|
||||||
inputs:
|
inputs:
|
||||||
do: search
|
do: search
|
||||||
keywords: "{{ .Keywords }}"
|
keywords: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{else}}{{ .Keywords }}{{end}}"
|
||||||
# t_name T_description t_both t_uploader t_genre
|
# t_name t_description t_both t_uploader t_genre
|
||||||
search_type: t_name
|
search_type: "{{ if .Query.IMDBID }}t_description{{else}}t_name{{end}}"
|
||||||
category: "{{ if .Categories }}{{ range .Categories }}{{.}};{{end}}{{else}}0{{end}}"
|
category: "{{ if .Categories }}{{ range .Categories }}{{.}};{{end}}{{else}}0{{end}}"
|
||||||
include_dead_torrents: yes
|
include_dead_torrents: yes
|
||||||
sort: "{{ .Config.sort }}"
|
sort: "{{ .Config.sort }}"
|
||||||
order: "{{ .Config.type }}"
|
order: "{{ .Config.type }}"
|
||||||
|
# does not return imdb link in results
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: table.sortable tr:has(a[href*="/download.php?id="])
|
selector: table.sortable tr:has(a[href*="/download.php?id="])
|
||||||
@@ -137,6 +138,7 @@
|
|||||||
details:
|
details:
|
||||||
selector: a[href*="/details.php?id="]
|
selector: a[href*="/details.php?id="]
|
||||||
attribute: href
|
attribute: href
|
||||||
|
# rows have download but site requires thanks so we use dl from details
|
||||||
download:
|
download:
|
||||||
selector: a[href*="/details.php?id="]
|
selector: a[href*="/details.php?id="]
|
||||||
attribute: href
|
attribute: href
|
||||||
@@ -164,6 +166,7 @@
|
|||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
case:
|
case:
|
||||||
img[src$="_flags/freedownload.gif"]: 0
|
img[src$="_flags/freedownload.gif"]: 0
|
||||||
|
img[src$="_flags/silverdownload.gif"]: 0.5
|
||||||
"*": 1
|
"*": 1
|
||||||
uploadvolumefactor:
|
uploadvolumefactor:
|
||||||
case:
|
case:
|
||||||
|
Reference in New Issue
Block a user