mirror of
https://github.com/Jackett/Jackett
synced 2025-03-10 22:23:20 +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:
|
||||
search: [q]
|
||||
tv-search: [q, season, ep]
|
||||
movie-search: [q]
|
||||
tv-search: [q, season, ep, genre]
|
||||
movie-search: [q, genre]
|
||||
|
||||
settings:
|
||||
- name: info_2fa
|
||||
|
@ -81,7 +81,7 @@ search:
|
|||
order_way: "{{ .Config.type }}"
|
||||
action: advanced
|
||||
filter_freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
|
||||
taglist: ""
|
||||
taglist: "{{ .Query.Genre }}"
|
||||
|
||||
rows:
|
||||
selector: table#torrent_table > tbody > tr[class^="torrent row"]:has(a[href*="action=download"])
|
||||
|
@ -101,9 +101,11 @@ search:
|
|||
download:
|
||||
selector: a[href^="torrents.php?action=download&id="]
|
||||
attribute: href
|
||||
description:
|
||||
optional: true
|
||||
genre:
|
||||
selector: div.tags
|
||||
optional: true
|
||||
description:
|
||||
selector: "{{ .Result.genre }}"
|
||||
poster:
|
||||
selector: td:nth-child(2) > script
|
||||
filters:
|
||||
|
|
Loading…
Add table
Reference in a new issue