1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-01-01 12:46:23 +00:00

divxtotal: fix download link (#8414)

This commit is contained in:
Diego Heras 2020-04-29 21:01:17 +02:00 committed by GitHub
parent 877af5c3c8
commit fe252faf1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -158,7 +158,7 @@ namespace Jackett.Common.Indexers
var searchResultParser = new HtmlParser(); var searchResultParser = new HtmlParser();
var doc = searchResultParser.ParseDocument(result.Content); var doc = searchResultParser.ParseDocument(result.Content);
var onclick = doc.QuerySelector("a[onclick*=\"/download/torrent\"]") var onclick = doc.QuerySelector("a[onclick*=\"/torrent\"]")
.GetAttribute("onclick"); .GetAttribute("onclick");
downloadUrl = OnclickToDownloadLink(onclick); downloadUrl = OnclickToDownloadLink(onclick);
} }