1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2024-12-26 17:58:49 +00:00

karagarga: add filename to title. #1241

This commit is contained in:
Garfield69 2020-06-01 11:20:18 +12:00
parent d255a2fafd
commit 1384e38818

View file

@ -74,11 +74,19 @@ search:
selector: a[href^="browse.php?country="] img
attribute: title
optional: true
filename:
selector: a[href^="/down.php/"]
attribute: href
filters:
- name: regexp
args: "(?:/down\\.php/\\d+/)(.+?)\\.torrent"
- name: re_replace
args: ["%20", "."]
title:
selector: a[href^="details.php?id="]
filters:
- name: append
args: " {{ .Result.year }} {{ .Result.flag }}"
args: " {{ .Result.year }} {{ .Result.flag }} [{{ .Result.filename }}]"
details:
selector: a[href^="details.php?id="]
attribute: href