From d68f47316da503d0b16bbd2f2abebac90d4daa25 Mon Sep 17 00:00:00 2001 From: mikeoscar2006 <89641725+mikeoscar2006@users.noreply.github.com> Date: Fri, 10 Sep 2021 10:06:16 +0530 Subject: [PATCH] [mircrew] Fix according to pull #12276 (#12277) --- src/Jackett.Common/Definitions/mircrew.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/Jackett.Common/Definitions/mircrew.yml b/src/Jackett.Common/Definitions/mircrew.yml index 59c8b97d6..5a5c1fa30 100644 --- a/src/Jackett.Common/Definitions/mircrew.yml +++ b/src/Jackett.Common/Definitions/mircrew.yml @@ -1,4 +1,4 @@ ---- +--- id: mircrew name: MIRCrew description: "MIRCrew is an ITALIAN Private Torrent Tracker for MOVIES / TV / MUSIC" @@ -89,14 +89,12 @@ login: selector: a[href^="./ucp.php?mode=logout&sid="] download: - selectors: - # the first download path is actually the thankyou button link to enable the page refresh to present the magnet - # so basically I am deliberately causing an internal failed download so I can do a GET with the thankyou link - # I can't use the traditional BEFORE method because the post_id, to_id and from_id are not available from the .DownloadUri.Query. - # details link: https://mircrew-releases.org/viewtopic.php?f=52&t=28752&hilit=2021 + before: # thankyou link: ./viewtopic.php?f=52&p=65417&thanks=65417&to_id=54&from_id=3950 - - selector: a[id^="lnk_thanks_post"] + pathselector: + selector: a[id^="lnk_thanks_post"] attribute: href + selectors: - selector: a[href^="magnet:?xt="] attribute: href