mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
This commit is contained in:

committed by
garfield69

parent
d343046e61
commit
90c224fdea
@@ -9,7 +9,7 @@ using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using com.LandonKey.SocksWebProxy;
|
||||
using com.LandonKey.SocksWebProxy.Proxy;
|
||||
using CloudFlareUtilities;
|
||||
using CloudflareSolverRe;
|
||||
using Jackett.Common.Models.Config;
|
||||
using Jackett.Common.Services.Interfaces;
|
||||
using NLog;
|
||||
@@ -122,8 +122,8 @@ namespace Jackett.Common.Utils.Clients
|
||||
|
||||
public void CreateClient()
|
||||
{
|
||||
clearanceHandlr = new ClearanceHandler();
|
||||
clearanceHandlr.MaxRetries = 30;
|
||||
clearanceHandlr = new ClearanceHandler(BrowserUtil.ChromeUserAgent);
|
||||
clearanceHandlr.MaxTries = 30;
|
||||
clientHandlr = new HttpClientHandler
|
||||
{
|
||||
CookieContainer = cookies,
|
||||
|
Reference in New Issue
Block a user