Skip to content

Commit

Permalink
user agent
Browse files Browse the repository at this point in the history
  • Loading branch information
flaviotordini committed Dec 21, 2019
1 parent 3deb718 commit b717e5c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/httputils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit b717e5c

Please sign in to comment.