mirror of
https://github.com/Jackett/Jackett
synced 2025-03-11 14:44:46 +00:00
cathoderaytube: add genre query and results support
This commit is contained in:
parent
b77e20357d
commit
3c4ae68045
1 changed files with 7 additions and 5 deletions
|
@ -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:
|
||||||
|
|
Loading…
Add table
Reference in a new issue