mirror of https://github.com/Jackett/Jackett
* Fix animedia indexer errors * Animedia: Fix download url
This commit is contained in:
parent
047c09665d
commit
7fd8202660
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue