Skip to content

Commit

Permalink
torrenting: add genre results
Browse files Browse the repository at this point in the history
  • Loading branch information
garfield69 committed Aug 6, 2022
1 parent 5c90926 commit b78c9d6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/Jackett.Common/Definitions/torrenting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,15 @@ search:
download:
selector: a[href^="/download.php/"]
attribute: href
genre:
selector: td.torrentNameInfo > div
filters:
- name: re_replace
args: ["(?i)(Science Fiction)", "Science_Fiction"]
- name: validate
args: "Action, Adventure, Animation, Biography, Comedy, Crime, Documentary, Drama, Family, Fantasy, Game-Show, History, Horror, Music, Musical, Mystery, News, Reality-TV, Romance, Science_Fiction, Sci-Fi, Short, Sitcom, Sport, Talk-Show, Thriller, War, Western"
description:
text: "{{ .Result.genre }}"
date:
selector: td.torrentNameInfo > div
filters:
Expand Down

0 comments on commit b78c9d6

Please sign in to comment.