Spoof user agent seen in the wild.

The state of modern web sadly discourages being honest.
This commit is contained in:
Bartosz Taudul
2025-05-17 18:58:35 +02:00
parent c0ffd99c91
commit 1e5f5215d4

View File

@@ -887,7 +887,7 @@ std::string TracyLlm::FetchWebPage( const std::string& url )
curl_easy_setopt( curl, CURLOPT_TIMEOUT, 10 );
curl_easy_setopt( curl, CURLOPT_WRITEFUNCTION, WriteFn );
curl_easy_setopt( curl, CURLOPT_WRITEDATA, &buf );
curl_easy_setopt( curl, CURLOPT_USERAGENT, "Tracy Profiler" );
curl_easy_setopt( curl, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36" );
auto res = curl_easy_perform( curl );