core: refactor http webclient part 16 #8529

Rename RequestWithCookiesAsync method
This commit is contained in:
ngosang
2020-09-21 18:39:47 +02:00
parent 5ad1c9c87c
commit 621a47338d
58 changed files with 123 additions and 121 deletions

View File

@@ -107,7 +107,7 @@ namespace Jackett.Common.Indexers
WebResult loginPage;
try
{
loginPage = await WebRequestWithCookiesAsync(StartPageUrl, string.Empty);
loginPage = await RequestWithCookiesAsync(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 RequestWithCookiesAsync(searchUrl);
// response without results (the message is misleading)
if (results.ContentString?.Contains("slow down geek!!!") == true)