mirror of
https://github.com/DoctorMcKay/node-steamcommunity.git
synced 2025-03-14 15:00:07 +08:00
Merge branch 'master' into v4
# Conflicts: # components/http.js # components/users.js # package.json
This commit is contained in:
commit
b98997a595
@ -123,7 +123,7 @@ SteamCommunity.prototype._checkCommunityError = function(html, callback) {
|
||||
return err;
|
||||
}
|
||||
|
||||
if (typeof html == 'string' && html.match(/g_steamID = false;/) && html.match(/<h1>Sign In<\/h1>/)) {
|
||||
if (typeof html == 'string' && html.indexOf('g_steamID = false;') > -1 && html.indexOf('<title>Sign In</title>') > -1) {
|
||||
err = new Error('Not Logged In');
|
||||
callback(err);
|
||||
this._notifySessionExpired(err);
|
||||
|
@ -518,7 +518,7 @@ SteamCommunity.prototype.getUserInventoryContents = function(userID, appID, cont
|
||||
},
|
||||
qs: {
|
||||
l: language, // Default language
|
||||
count: 5000, // Max items per 'page'
|
||||
count: 2000, // Max items per 'page'
|
||||
start_assetid: start
|
||||
},
|
||||
json: true
|
||||
|
Loading…
Reference in New Issue
Block a user