mirror of
https://github.com/DoctorMcKay/node-steamcommunity.git
synced 2026-08-19 05:03:28 +08:00
@@ -261,7 +261,10 @@ function request(community, url, key, time, tag, params, json, callback) {
|
|||||||
var req = {
|
var req = {
|
||||||
method: url == 'multiajaxop' ? 'POST' : 'GET',
|
method: url == 'multiajaxop' ? 'POST' : 'GET',
|
||||||
uri: 'https://steamcommunity.com/mobileconf/' + url,
|
uri: 'https://steamcommunity.com/mobileconf/' + url,
|
||||||
json: !!json
|
json: !!json,
|
||||||
|
headers: {
|
||||||
|
'user-agent': 'okhttp/4.9.2'
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
if (req.method == 'GET') {
|
if (req.method == 'GET') {
|
||||||
|
|||||||
Reference in New Issue
Block a user