mirror of https://github.com/Jackett/Jackett
wolfmax4k: fix download torrents with password (#15173)
This commit is contained in:
parent
cb6945cb5c
commit
0df72a3545
|
@ -145,7 +145,7 @@ namespace Jackett.Common.Indexers
|
|||
{
|
||||
var wmPage = await RequestWithCookiesAndRetryAsync(link.ToString(), emulateBrowser: false);
|
||||
var wmDoc = new HtmlParser().ParseDocument(wmPage.ContentString);
|
||||
var enlacitoUrl = wmDoc.QuerySelector(".app-message a")?.GetAttribute("href");
|
||||
var enlacitoUrl = wmDoc.QuerySelector(".app-message a:not(.buttonPassword)")?.GetAttribute("href");
|
||||
|
||||
var enlacitoPage = await RequestWithCookiesAndRetryAsync(enlacitoUrl, emulateBrowser: false, referer: SiteLink);
|
||||
var enlacitoDoc = new HtmlParser().ParseDocument(enlacitoPage.ContentString);
|
||||
|
|
Loading…
Reference in New Issue