Compare commits

...

2 Commits

Author SHA1 Message Date
Alex Corn
fa8d897590 3.50.3 2026-07-13 12:50:33 -04:00
Alex Corn
f7fe587312 Send correct user-agent for mobileconf requests
(fixes #371)
2026-07-13 12:50:15 -04:00
2 changed files with 5 additions and 2 deletions

View File

@@ -261,7 +261,10 @@ function request(community, url, key, time, tag, params, json, callback) {
var req = {
method: url == 'multiajaxop' ? 'POST' : 'GET',
uri: 'https://steamcommunity.com/mobileconf/' + url,
json: !!json
json: !!json,
headers: {
'user-agent': 'okhttp/4.9.2'
}
};
if (req.method == 'GET') {

View File

@@ -1,6 +1,6 @@
{
"name": "steamcommunity",
"version": "3.50.2",
"version": "3.50.3",
"description": "Provides an interface for logging into and interacting with the Steam Community website",
"files": [
"/classes",