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:
parent
1ecf342f15
commit
675610c5e2
1 changed files with 4 additions and 3 deletions
|
@ -129,11 +129,12 @@ search:
|
||||||
- name: querystring
|
- name: querystring
|
||||||
args: cat
|
args: cat
|
||||||
title:
|
title:
|
||||||
selector: a.link-secondary
|
selector: a[href^="details.php?id="]
|
||||||
attribute: title
|
attribute: title
|
||||||
filters:
|
filters:
|
||||||
- name: regexp
|
- name: regexp
|
||||||
args: \'>(.+?)</div
|
args: \'>(.+?)</div
|
||||||
|
- name: htmldecode
|
||||||
# normalize to SXXEYY format
|
# normalize to SXXEYY format
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["(?i)[CС]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(?:\\s*(?:[CС]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)", "S$1E$2 of $3"]
|
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
|
- name: append
|
||||||
args: "{{ if .Config.addrussiantotitle }} RUS{{ else }}{{ end }}"
|
args: "{{ if .Config.addrussiantotitle }} RUS{{ else }}{{ end }}"
|
||||||
details:
|
details:
|
||||||
selector: a.link-secondary
|
selector: a[href^="details.php?id="]
|
||||||
attribute: href
|
attribute: href
|
||||||
download:
|
download:
|
||||||
selector: a.link-secondary
|
selector: a[href^="details.php?id="]
|
||||||
attribute: href
|
attribute: href
|
||||||
filters:
|
filters:
|
||||||
- name: replace
|
- name: replace
|
||||||
|
|
Loading…
Add table
Reference in a new issue