From b717e5c88617a2cfb814a9050982f37245bdefab Mon Sep 17 00:00:00 2001 From: Flavio Tordini Date: Sat, 21 Dec 2019 01:10:47 +0100 Subject: [PATCH] user agent --- src/httputils.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/httputils.cpp b/src/httputils.cpp index d522f6e3..68654998 100644 --- a/src/httputils.cpp +++ b/src/httputils.cpp @@ -56,6 +56,8 @@ const QByteArray &HttpUtils::userAgent() { } const QByteArray &HttpUtils::stealthUserAgent() { - static const QByteArray ua = "curl/7.37.0"; + static const QByteArray ua = + "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like " + "Gecko) Chrome/79.0.3945.79 Safari/537.36"; return ua; }