mirror of
https://github.com/Jackett/Jackett
synced 2025-03-09 13:52:03 +00:00
cathoderaytube: add imdbid support
Co-authored-by: zentis
This commit is contained in:
parent
cdc26da45a
commit
3e702e0309
2 changed files with 8 additions and 12 deletions
|
@ -18,8 +18,8 @@ caps:
|
||||||
|
|
||||||
modes:
|
modes:
|
||||||
search: [q]
|
search: [q]
|
||||||
tv-search: [q, season, ep, genre]
|
tv-search: [q, season, ep, imdbid, genre]
|
||||||
movie-search: [q, genre]
|
movie-search: [q, imdbid, genre]
|
||||||
|
|
||||||
settings:
|
settings:
|
||||||
- name: info_2fa
|
- name: info_2fa
|
||||||
|
@ -76,7 +76,7 @@ search:
|
||||||
- path: torrents.php
|
- path: torrents.php
|
||||||
inputs:
|
inputs:
|
||||||
$raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}"
|
$raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}"
|
||||||
searchtext: "{{ .Keywords }}"
|
searchtext: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
|
||||||
order_by: "{{ .Config.sort }}"
|
order_by: "{{ .Config.sort }}"
|
||||||
order_way: "{{ .Config.type }}"
|
order_way: "{{ .Config.type }}"
|
||||||
action: advanced
|
action: advanced
|
||||||
|
@ -91,8 +91,6 @@ search:
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: table#torrent_table > tbody > tr[class^="torrent row"]:has(a[href*="action=download"])
|
selector: table#torrent_table > tbody > tr[class^="torrent row"]:has(a[href*="action=download"])
|
||||||
filters:
|
|
||||||
- name: andmatch
|
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
category:
|
category:
|
||||||
|
@ -128,7 +126,7 @@ search:
|
||||||
- name: validate
|
- name: validate
|
||||||
args: "Action, Adventure, Animation, Comedy, Crime, Documentary, Drama, Family, Fantasy, History, Horror, Kids, Music, Mystery, News, Reality, Romance, SciFi, Soap, Talk, Thriller, War, Western"
|
args: "Action, Adventure, Animation, Comedy, Crime, Documentary, Drama, Family, Fantasy, History, Horror, Kids, Music, Mystery, News, Reality, Romance, SciFi, Soap, Talk, Thriller, War, Western"
|
||||||
description:
|
description:
|
||||||
text: "{{ .Result.genre }}"
|
selector: div.tags
|
||||||
poster:
|
poster:
|
||||||
selector: td:nth-child(2) > script
|
selector: td:nth-child(2) > script
|
||||||
filters:
|
filters:
|
||||||
|
|
|
@ -18,8 +18,8 @@ caps:
|
||||||
|
|
||||||
modes:
|
modes:
|
||||||
search: [q]
|
search: [q]
|
||||||
tv-search: [q, season, ep, genre]
|
tv-search: [q, season, ep, imdbid, genre]
|
||||||
movie-search: [q, genre]
|
movie-search: [q, imdbid, genre]
|
||||||
|
|
||||||
settings:
|
settings:
|
||||||
- name: cookie
|
- name: cookie
|
||||||
|
@ -66,7 +66,7 @@ search:
|
||||||
- path: torrents.php
|
- path: torrents.php
|
||||||
inputs:
|
inputs:
|
||||||
$raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}"
|
$raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}"
|
||||||
searchtext: "{{ .Keywords }}"
|
searchtext: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
|
||||||
order_by: "{{ .Config.sort }}"
|
order_by: "{{ .Config.sort }}"
|
||||||
order_way: "{{ .Config.type }}"
|
order_way: "{{ .Config.type }}"
|
||||||
action: advanced
|
action: advanced
|
||||||
|
@ -81,8 +81,6 @@ search:
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: table#torrent_table > tbody > tr[class^="torrent row"]:has(a[href*="action=download"])
|
selector: table#torrent_table > tbody > tr[class^="torrent row"]:has(a[href*="action=download"])
|
||||||
filters:
|
|
||||||
- name: andmatch
|
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
category:
|
category:
|
||||||
|
@ -118,7 +116,7 @@ search:
|
||||||
- name: validate
|
- name: validate
|
||||||
args: "Action, Adventure, Animation, Comedy, Crime, Documentary, Drama, Family, Fantasy, History, Horror, Kids, Music, Mystery, News, Reality, Romance, SciFi, Soap, Talk, Thriller, War, Western"
|
args: "Action, Adventure, Animation, Comedy, Crime, Documentary, Drama, Family, Fantasy, History, Horror, Kids, Music, Mystery, News, Reality, Romance, SciFi, Soap, Talk, Thriller, War, Western"
|
||||||
description:
|
description:
|
||||||
text: "{{ .Result.genre }}"
|
selector: div.tags
|
||||||
poster:
|
poster:
|
||||||
selector: td:nth-child(2) > script
|
selector: td:nth-child(2) > script
|
||||||
filters:
|
filters:
|
||||||
|
|
Loading…
Add table
Reference in a new issue