1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-03-13 07:33:12 +00:00

mircrew: extract size from title if present. #15034

must be within {}
This commit is contained in:
Garfield69 2024-02-03 15:31:49 +13:00
parent e94d5eb7dc
commit 21ee114883

View file

@ -168,8 +168,13 @@ search:
download:
selector: a.topictitle
attribute: href
size_title:
selector: a.topictitle
filters:
- name: regexp
args: "[{](.+?)[}]"
size:
text: "512 MB"
text: "{{ if .Result.size_title }}{{ .Result.size_title }}{{ else }}512 MB{{ end }}"
seeders:
text: 1
leechers: