From 7b9aea89cb3ca9cd0737b0e975af890ad419ea19 Mon Sep 17 00:00:00 2001 From: Diego Heras Date: Sat, 16 May 2020 01:36:20 +0200 Subject: [PATCH] horriblesubs: keep cloudflare cookie (#8674) --- src/Jackett.Common/Indexers/HorribleSubs.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Jackett.Common/Indexers/HorribleSubs.cs b/src/Jackett.Common/Indexers/HorribleSubs.cs index 401b0b1a2..b6cfc17fb 100644 --- a/src/Jackett.Common/Indexers/HorribleSubs.cs +++ b/src/Jackett.Common/Indexers/HorribleSubs.cs @@ -72,7 +72,7 @@ namespace Jackett.Common.Indexers }; var searchUrl = ApiEndpoint + "?" + queryCollection.GetQueryString(); - var response = await RequestStringWithCookiesAndRetry(searchUrl, string.Empty); + var response = await RequestStringWithCookiesAndRetry(searchUrl); try { @@ -112,7 +112,7 @@ namespace Jackett.Common.Indexers }; var searchUrl = ApiEndpoint + "?" + queryCollection.GetQueryString(); - var response = await RequestStringWithCookiesAndRetry(searchUrl, string.Empty); + var response = await RequestStringWithCookiesAndRetry(searchUrl); try { @@ -146,7 +146,7 @@ namespace Jackett.Common.Indexers var releases = new List(); var parser = new HtmlParser(); - var response = await RequestStringWithCookiesAndRetry(resultUrl, string.Empty); + var response = await RequestStringWithCookiesAndRetry(resultUrl); await FollowIfRedirect(response); try @@ -168,7 +168,7 @@ namespace Jackett.Common.Indexers var nextId = 0; while (true) { - var showApiResponse = await RequestStringWithCookiesAndRetry(apiUrl + "&nextid=" + nextId, string.Empty); + var showApiResponse = await RequestStringWithCookiesAndRetry(apiUrl + "&nextid=" + nextId); var showApiDom = parser.ParseDocument(showApiResponse.Content); var releaseRowResults = showApiDom.QuerySelectorAll("div.rls-info-container"); rows.AddRange(releaseRowResults);