mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
cathoderaytube: add genre query and results support
This commit is contained in:
@@ -18,8 +18,8 @@ caps:
|
|||||||
|
|
||||||
modes:
|
modes:
|
||||||
search: [q]
|
search: [q]
|
||||||
tv-search: [q, season, ep]
|
tv-search: [q, season, ep, genre]
|
||||||
movie-search: [q]
|
movie-search: [q, genre]
|
||||||
|
|
||||||
settings:
|
settings:
|
||||||
- name: info_2fa
|
- name: info_2fa
|
||||||
@@ -81,7 +81,7 @@ search:
|
|||||||
order_way: "{{ .Config.type }}"
|
order_way: "{{ .Config.type }}"
|
||||||
action: advanced
|
action: advanced
|
||||||
filter_freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
|
filter_freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
|
||||||
taglist: ""
|
taglist: "{{ .Query.Genre }}"
|
||||||
|
|
||||||
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"])
|
||||||
@@ -101,9 +101,11 @@ search:
|
|||||||
download:
|
download:
|
||||||
selector: a[href^="torrents.php?action=download&id="]
|
selector: a[href^="torrents.php?action=download&id="]
|
||||||
attribute: href
|
attribute: href
|
||||||
description:
|
genre:
|
||||||
optional: true
|
|
||||||
selector: div.tags
|
selector: div.tags
|
||||||
|
optional: true
|
||||||
|
description:
|
||||||
|
selector: "{{ .Result.genre }}"
|
||||||
poster:
|
poster:
|
||||||
selector: td:nth-child(2) > script
|
selector: td:nth-child(2) > script
|
||||||
filters:
|
filters:
|
||||||
|
Reference in New Issue
Block a user