diff --git a/src/Jackett.Common/Indexers/Animedia.cs b/src/Jackett.Common/Indexers/Animedia.cs index 4b70ee79a..b74de4195 100644 --- a/src/Jackett.Common/Indexers/Animedia.cs +++ b/src/Jackett.Common/Indexers/Animedia.cs @@ -146,7 +146,7 @@ namespace Jackett.Common.Indexers var tr_id = t.Attributes["href"].Value; var tr = document.QuerySelector("div" + tr_id); release.Title += " - " + composeTitleAdditionalInfo(t, tr); - release.Link = new Uri(document.QuerySelector("div.download_tracker > a.btn__green").Attributes["href"].Value); + release.Link = new Uri(tr.QuerySelector("div.download_tracker > a.btn__green").Attributes["href"].Value); release.MagnetUri = new Uri(tr.QuerySelector("div.download_tracker > a.btn__d-gray").Attributes["href"].Value); release.Seeders = long.Parse(tr.QuerySelector("div.circle_green_text_top").Text()); release.Peers = release.Seeders + long.Parse(tr.QuerySelector("div.circle_red_text_top").Text());