Skip to content

Commit

Permalink
karagarga: add filename to title. #1241
Browse files Browse the repository at this point in the history
  • Loading branch information
garfield69 committed May 31, 2020
1 parent d255a2f commit 1384e38
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/Jackett.Common/Definitions/karagarga.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1384e38

Please sign in to comment.