mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
feat(archival): ✨ spoof common UA
This commit is contained in:
parent
98b9ef0037
commit
7eb8cf8388
1 changed files with 1 additions and 0 deletions
|
|
@ -22,6 +22,7 @@ internal sealed class HttpContentClient : IHttpContentClient
|
|||
public HttpContentClient(HttpClient httpClient, ILogger<HttpContentClient> logger)
|
||||
{
|
||||
_httpClient = httpClient;
|
||||
_httpClient.DefaultRequestHeaders.Add("User-Agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36");
|
||||
_logger = logger;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue