Skip to content

Commit

Permalink
jackett indexers as of dcadd474a0b8074623fbc1f8e4bda034473355cc [2024…
Browse files Browse the repository at this point in the history
…-12-05T18:18:08Z]
  • Loading branch information
ServarrAdmin committed Dec 5, 2024
1 parent 69cec67 commit 19392f7
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions definitions/v10/hdonly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ login:
selector: a[href^="logout.php?auth="]

search:
# https://hd-only.org/torrents.php?filelist=blood+2009&freetorrent=1&order_by=time&order_way=desc&action=advanced&searchsubmit=1
# https://hd-only.org/ajax.php?filelist=blood+2009&action=browse&group_results=0&order_by=time&order_way=desc&freetorrent=1
paths:
- path: ajax.php
response:
Expand Down Expand Up @@ -227,6 +227,9 @@ search:
_vfq:
selector: vfq
optional: true
_vf2:
selector: vf2
optional: true
_vfi:
selector: vfi
optional: true
Expand All @@ -251,9 +254,11 @@ search:
- name: append
args: ".{{ .Result.year }}.{{ .Result._episode_info }}.{{ .Result._format }}.{{ .Result._encoding }}.{{ .Result._media }}{{ if eq .Result._hdr \"True\" }}.HDR{{ else }}{{ end }}.{{ if eq .Result._hdr10plus \"True\" }}.HDR10+{{ else }}{{ end }}.{{ if eq .Result._dovi \"True\" }}.DoVi{{ else }}{{ end }}"
- name: append
args: "{{ if or (eq .Result._vff \"True\") (eq .Result._vfq \"True\") }}.MULTI{{ else }}{{ end }}{{ if or (eq .Result._vfi \"True\") (eq .Result._vf \"True\") }}.MULTI{{ else }}{{ end }}"
- name: replace
args: [".MULTI.MULTI", ".MULTI"]
args: "{{ if eq .Result._vf2 \"True\" }}.MULTI{{ else }}{{ end }}{{ if or (eq .Result._vff \"True\") (eq .Result._vfq \"True\") }}.MULTI{{ else }}{{ end }}{{ if or (eq .Result._vfi \"True\") (eq .Result._vf \"True\") }}.MULTI{{ else }}{{ end }}"
- name: re_replace
args: ["(\\.MULTI)\\1", ".MULTI"]
- name: append
args: "{{ if and (.Config.add_version_francophone_to_title) (eq .Result._vf2 \"True\") }}.VF2{{ else }}{{ end }}"
- name: append
args: "{{ if and (.Config.add_version_francophone_to_title) (eq .Result._vff \"True\") }}.VFF{{ else }}{{ end }}"
- name: append
Expand Down

0 comments on commit 19392f7

Please sign in to comment.