1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-03-04 18:59:01 +00:00

hdgalaktik: new selector for title, details and download

This commit is contained in:
Garfield69 2025-02-01 05:06:19 +13:00
parent 1ecf342f15
commit 675610c5e2

View file

@ -129,11 +129,12 @@ search:
- name: querystring
args: cat
title:
selector: a.link-secondary
selector: a[href^="details.php?id="]
attribute: title
filters:
- name: regexp
args: \'>(.+?)</div
- name: htmldecode
# normalize to SXXEYY format
- name: re_replace
args: ["(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)", "S$1E$2 of $3"]
@ -192,10 +193,10 @@ search:
- name: append
args: "{{ if .Config.addrussiantotitle }} RUS{{ else }}{{ end }}"
details:
selector: a.link-secondary
selector: a[href^="details.php?id="]
attribute: href
download:
selector: a.link-secondary
selector: a[href^="details.php?id="]
attribute: href
filters:
- name: replace