mirror of
https://github.com/Jackett/Jackett
synced 2025-03-04 10:48:26 +00:00
hdgalaktik: new selector for title, details and download
This commit is contained in:
parent
1ecf342f15
commit
675610c5e2
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue