From 6191ec0ef44253963a53af616347bdce7bf51aec Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Sat, 1 Jun 2019 20:00:15 +1200 Subject: [PATCH] sportscult: strip %7C from download link for #5378 --- src/Jackett.Common/Definitions/sportscult.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Jackett.Common/Definitions/sportscult.yml b/src/Jackett.Common/Definitions/sportscult.yml index 4b2b3127c..f120a7f15 100644 --- a/src/Jackett.Common/Definitions/sportscult.yml +++ b/src/Jackett.Common/Definitions/sportscult.yml @@ -96,8 +96,13 @@ remove: span selector: td:nth-child(2) download: + # download.php?id=fb27625a0543ed731f7b3505beebf4c8d530f8f9&f=IIHF+2019-05-26+%7C+Gold+Medal+%7C+Canada+vs+Finland+%7C+1080p+EN.torrent selector: a[href^="download.php?id="] attribute: href + filters: + # strip the upright bars in the title's filename + - name: re_replace + args: ["(\\+%7C\\+)+", "+"] details: selector: a[href^="index.php?page=torrent-details&id="] attribute: href