Skip to content

Commit

Permalink
jackett indexers as of 9013b6adc65e52ead1ea635785d2986852a3b83e [2024…
Browse files Browse the repository at this point in the history
…-12-31T19:53:11Z]
  • Loading branch information
ServarrAdmin committed Dec 31, 2024
1 parent 3b6b0f2 commit 65cc8ad
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions definitions/v10/hhanclub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,12 @@ search:
selector: div.w-full:has(a[href^="details.php?id="])

fields:
_episode_number:
selector: div.torrent-title > div > div
optional: true
filters:
- name: regexp
args: "第(\\d+(?:-\\d+)?)集"
category:
selector: a[href^="?cat[]="]
attribute: href
Expand All @@ -122,6 +128,9 @@ search:
args: cat[]
title:
selector: a[href^="details.php?id="]
filters:
- name: re_replace
args: ["\\b(S\\d+)\\b", "{{ if .Result._episode_number }}$1E{{ .Result._episode_number }}{{ else }}$1{{ end }}"]
details:
selector: a[href^="details.php?id="]
attribute: href
Expand Down

0 comments on commit 65cc8ad

Please sign in to comment.