mirror of
https://github.com/DoctorMcKay/node-steamcommunity.git
synced 2025-03-23 21:50:10 +08:00
Fixed market search results including query string (fixes #113)
This commit is contained in:
parent
446e315183
commit
57fa7a679f
@ -79,7 +79,7 @@ SteamCommunity.prototype.marketSearch = function(options, callback) {
|
||||
};
|
||||
|
||||
function CMarketSearchResult(row) {
|
||||
var match = row.attr('href').match(/\/market\/listings\/(\d+)\/(.+)/);
|
||||
var match = row.attr('href').match(/\/market\/listings\/(\d+)\/([^\?\/]+)/);
|
||||
|
||||
this.appid = parseInt(match[1], 10);
|
||||
this.market_hash_name = decodeURIComponent(match[2]);
|
||||
|
Loading…
Reference in New Issue
Block a user