1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2024-12-28 02:39:26 +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 selector: a[href^="browse.php?country="] img
attribute: title attribute: title
optional: true optional: true
filename:
selector: a[href^="/down.php/"]
attribute: href
filters:
- name: regexp
args: "(?:/down\\.php/\\d+/)(.+?)\\.torrent"
- name: re_replace
args: ["%20", "."]
title: title:
selector: a[href^="details.php?id="] selector: a[href^="details.php?id="]
filters: filters:
- name: append - name: append
args: " {{ .Result.year }} {{ .Result.flag }}" args: " {{ .Result.year }} {{ .Result.flag }} [{{ .Result.filename }}]"
details: details:
selector: a[href^="details.php?id="] selector: a[href^="details.php?id="]
attribute: href attribute: href