parent
e2cdf27d40
commit
129c95f123
@ -48,7 +48,8 @@ internal class ChromiumDownloadClient : DownloadClient
|
||||
"--disable-gpu",
|
||||
"--disable-dev-shm-usage",
|
||||
"--disable-setuid-sandbox",
|
||||
"--no-sandbox"}
|
||||
"--no-sandbox"},
|
||||
Timeout = 10
|
||||
});
|
||||
}
|
||||
|
||||
@ -60,6 +61,7 @@ internal class ChromiumDownloadClient : DownloadClient
|
||||
protected override RequestResult MakeRequestInternal(string url, string? referrer = null)
|
||||
{
|
||||
IPage page = this.browser!.NewPageAsync().Result;
|
||||
page.DefaultTimeout = 10000;
|
||||
IResponse response = page.GoToAsync(url, WaitUntilNavigation.DOMContentLoaded).Result;
|
||||
Log("Page loaded.");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user