Skip to content

Commit

Permalink
jpopsuki: add genre query and result
Browse files Browse the repository at this point in the history
  • Loading branch information
garfield69 committed Aug 7, 2022
1 parent c5bc5e8 commit da7e4bf
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions src/Jackett.Common/Definitions/jpopsuki.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ caps:

modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
music-search: [q, album, artist]
tv-search: [q, season, ep, genre]
movie-search: [q, genre]
music-search: [q, album, artist, genre]

settings:
- name: username
Expand Down Expand Up @@ -81,6 +81,9 @@ search:
order_way: "{{ .Config.type }}"
disablegrouping: 1
section: torrents
searchtags: "{{ .Query.Genre }}"
# 0 Any, 1 All
tags_type: 1

rows:
selector: table#torrent_table > tbody > tr[class^="torrent"]
Expand All @@ -95,8 +98,13 @@ search:
download:
selector: a[href^="torrents.php?action=download&id="]
attribute: href
description:
genre:
selector: div.tags
filters:
- name: replace
args: [".", "_"]
description:
text: "{{ .Result.genre }}"
title:
selector: td:nth-last-child(7)
remove: span, div.tags, a[title="View Comments"]
Expand Down

0 comments on commit da7e4bf

Please sign in to comment.