Revert "core: refactor http webclient part 13 #8529 (#8941)"

This reverts commit 4d63fa81d5.
This commit is contained in:
ngosang
2020-09-21 08:02:53 +02:00
parent 9d5636cc19
commit ca61f965e9
91 changed files with 399 additions and 330 deletions

View File

@@ -107,7 +107,7 @@ namespace Jackett.Common.Indexers
WebResult loginPage;
try
{
loginPage = await WebRequestWithCookiesAsync(StartPageUrl, string.Empty);
loginPage = await RequestStringWithCookies(StartPageUrl, string.Empty);
}
catch (Exception)
{
@@ -198,7 +198,7 @@ namespace Jackett.Common.Indexers
qParams.Add("freeleech", "on");
var searchUrl = SearchUrl + "?" + qParams.GetQueryString();
var results = await WebRequestWithCookiesAsync(searchUrl);
var results = await RequestStringWithCookies(searchUrl);
// response without results (the message is misleading)
if (results.ContentString?.Contains("slow down geek!!!") == true)