steamutils 1.3.85 → 1.3.86
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +4 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -7035,7 +7035,10 @@ export default class SteamUser {
|
|
|
7035
7035
|
}
|
|
7036
7036
|
|
|
7037
7037
|
const $ = cheerio.load(result?.data);
|
|
7038
|
-
|
|
7038
|
+
const gamesListPublicEl = $("#games_list_public");
|
|
7039
|
+
if (!gamesListPublicEl.length) return;
|
|
7040
|
+
|
|
7041
|
+
return [...gamesListPublicEl.find(".games_list_tabs > .games_list_tab")].map(function (el) {
|
|
7039
7042
|
el = $(el);
|
|
7040
7043
|
const gameIcon = el.find(".item_desc_game_icon img").attr("src");
|
|
7041
7044
|
const gameName = el.find(".games_list_tab_name").text().trim();
|