Add user-agent

This commit is contained in:
2024-12-21 21:57:01 +01:00
parent af7b385641
commit 580d687f62
4 changed files with 16 additions and 10 deletions
+4 -4
View File
@@ -171,9 +171,9 @@ public class ContentFilter
{
html = HttpClientHelper.GetHtml(url1, 80).GetAwaiter().GetResult();
}
catch (Exception e)
catch
{
Console.WriteLine(e);
//
}
}
else
@@ -184,9 +184,9 @@ public class ContentFilter
{
html = HttpClientHelper.GetHtml(url2, 443).GetAwaiter().GetResult();
}
catch (Exception e)
catch
{
Console.WriteLine(e);
//
}
}
+1 -1
View File
@@ -59,7 +59,7 @@ public class ThreadHandler
{
Thread.Sleep(5000); // Let the database handler instantiate and warm up first.
List<WaitHandle[]> wait = _ipScanner.Start(128);
List<WaitHandle[]> wait = _ipScanner.Start(32);
for (int i = 0; i < wait.Count; i++)
{