mirror of https://github.com/Jackett/Jackett
Demonoid: improve download debugging
This commit is contained in:
parent
dae37f273a
commit
6d8239caab
|
@ -231,7 +231,9 @@ namespace Jackett.Common.Indexers
|
|||
public override async Task<byte[]> Download(Uri link)
|
||||
{
|
||||
var results = await RequestStringWithCookies(link.AbsoluteUri);
|
||||
await FollowIfRedirect(results);
|
||||
//await FollowIfRedirect(results); // manual follow for better debugging (string)
|
||||
if (results.IsRedirect)
|
||||
results = await RequestStringWithCookies(results.RedirectingTo);
|
||||
CQ dom = results.Content;
|
||||
var dl = dom.Find("a:has(font:contains(\"Download torrent file\"))");
|
||||
|
||||
|
|
Loading…
Reference in New Issue