Tutte le discussioni > Discussioni di Steam > Help and Tips > Dettagli della discussione
Steam Wishlist + Game Library title names to text list
I found an ancient topic on the issue, long since locked, it's the only thing i could find on the topic, and i have to thank google for digging it up, steam for hosting it to this day, and the original contributors who brought light to it,

Crnzqpty Nov 18, 2014 @ 8:33pm posted a topic about exporting a list of games.
ᅟᅟᅟᅟhttps://steamcommunity.com/discussions/forum/10/624075482698670357/

zuggaperle Sep 23, 2016 @ 3:36pm
responded to that ancient post, with some effective code for acquiring the titles through google Chrome
ᅟᅟᅟᅟThank you zuggaperle!


Today i weigh in on the idea, with alteration as i needed a way to export my steam wishlist as well as my gameLibrary.

so I've created instructions for non-pro users to understand and reproduce a bit better.
the exactness may change over time, especially as Chrome may upgrade the gui for webpage console modes. but here goes.




textual Steam Game Library acquisition

1> in chrome web browser goto https://steamcommunity.com/profiles/YOUR-STEAM-NUMBER-HERE/games/?tab=all your privacy/publicity settings for your gameLibrary may be a factor here.
(
Are you still wondering "Where can I find my Steam ID?" well Open Steam and click on your profile name. Your Steam ID is either displayed as a number or as a name (costum URL).

Mine for example is https://steamcommunity.com/profiles/76561197999311654/games/?tab=all
)

2> then press ctrl shift J
ᅟinput the line into the console that comes up:

var names = document.body.getElementsByClassName('gameListRowItemName'); var namesString = ''; for (var i = 0; i < names.length; i++) namesString += (names.innerText + '\n');

(not important to note: the above is 1 line, but 3 separate commands separated by ";" and it is different from the one used to collect SteamWishlist titles.)

3> copy-paste the text the console outputs, into a Notepad or text editor such as Notepad++
4> alphabetize if desired. Online tools and Microsoft office have this ability if you need it.




textual Steam Wishlist acquisition

1> in chrome goto https://store.steampowered.com/wishlist/profiles/YOUR-STEAM-NUMBER-HERE/#sort=name your privacy/publicity settings for your Wishlists may be a factor here.
(
Are you still wondering "Where can I find my Steam ID?" well Open Steam and click on your profile name. Your Steam ID is either displayed as a number or as a name (costum URL).

Mine for example is https://store.steampowered.com/wishlist/profiles/76561197999311654/#sort=name
)
2> then press ctrl shift J

3> input the following whole line into the console that comes up:

var names = document.body.getElementsByClassName('title'); var namesString = ''; for (var i = 0; i < names.length; i++) namesString += (names.innerText + '\n');

(not important to note: the above is 1 line, but 3 separate commands separated by ";" and it is different from the one used to collect SteamGameLibrary titles.)

4> copy-paste the text the console outputs, into a Notepad or text editor such as Notepad++
the text may be incomplete, or overlap with the beginning or end of your wish list resulting in duplicate entries.

5> Use the page down key /or/ next page button for your wishlist. (my wishlist presently auto loads the next page of entries when i get near the bottom of the current entries on the scroll bar. This may change based on how steam displays this data going forward.)

6> repeat step 4&5 now with each new page worth of data until you've collected all of your wishlist.

7> with your data collected, its got duplicates and likely extra blank lines,
7.A
ᅟᅟᅟnone of which are a problem if you have notepad++.
ᅟᅟᅟwith notepad++ you just highlight the text you've collected, sloppy or otherwise,
ᅟᅟᅟand select the following from the menu:
ᅟᅟᅟᅟᅟᅟTextFX > TextFX Tools >
ᅟᅟᅟᅟᅟᅟ+Sort outputs only UNIQUE (at column) lines
ᅟᅟᅟᅟᅟᅟ+Sort Ascending
ᅟᅟᅟᅟᅟᅟᅟand finally
ᅟᅟᅟᅟᅟᅟSort Lines case INSENSITIVE (at column)
ᅟᅟᅟThis will clean out any duplicate names, extra blank lines, and alphabetize them.
7.B
ᅟᅟᅟthe internet has lots of java tools for list and text manipulation and sorting available vie google (or bing or yahoo) search. just find one that will sort by line, alphabetize. then find one that will automatically remove duplication, (or you can do that manually if its not too long a list.)

--------------------------------------

EDIT: O!M!G! steam discussions get your BB's right! [ code ] blocks are so broken!! you cant close them! ? [ / code ] appears ignored
Ultima modifica da ThumpieBunnyEve; 13 giu 2019, ore 20:23
< >
Visualizzazione di 1-1 commenti su 1
for some reason your code didn't work for me for the Wishlist list, so I tweaked it. I scrolled through the page a few times and dumped it all to a text file and then used a website to remove the duplicate names.

var names = document.body.getElementsByClassName('title'); var namesString = ''; for (var i = 0; i < names.length; i++) namesString += (names[/i].innerText +'\n');

Edit: Thank you btw :)
Edit2: [/code] still ignored lmao
Edit3: ignore the slash in the i for names([/i], but use the brackets. Steam is trying to format it because of the brackets
Ultima modifica da Domicidal; 26 nov 2019, ore 19:49
< >
Visualizzazione di 1-1 commenti su 1
Per pagina: 1530 50

Tutte le discussioni > Discussioni di Steam > Help and Tips > Dettagli della discussione
Data di pubblicazione: 13 giu 2019, ore 16:24
Messaggi: 1