TPG Steam Id Lookup Tool
Posted: Wed Apr 11, 2012 7:37 pm
This program is a hack-job legit-proof because TPG won't add a feature to do it on their website. This program scrapes TPG and stores roster information locally on your machine.
http://dl.dropbox.com/u/8637365/steamid_lookup.zip
Open steamid_lookup.exe to use it.
When you open it up, it will ask you to enter a command.
b - Rebuilds Database
s - Steam ID Look Up
q - Quit
b, this will go to all team pages in the leagues listed in "links.txt" file. (check out the file to learn more)
it will then parse the HTML and insert the players/teams into a local database.
s, asks you to enter steamIDs. enter them in the format of #:######
additionally, you can enter more than 1, just separate them with commas. #:######, #:#####, #:######
Results will only be returned if the user is in the database, otherwise it'll be blank.
I lost the first steamidlookup program I made, so I remade it and put it on my dropbox. The source code is available in the zip file if you want to take a look at it. It's python. The zip SHOULD include all the necessary files to run the executable ... I hope. You may need to have C/C++ runtimes.
If you have any questions, comments, or suggestions let me know and I'll do what I can.
I might try and make a GUI for it, so it doesn't pop up in a shitty terminal, but it gets the job done right now.
Don't use the B function too often. It loads 35~125 pages depending on the links.txt file.
http://dl.dropbox.com/u/8637365/steamid_lookup.zip
Open steamid_lookup.exe to use it.
When you open it up, it will ask you to enter a command.
b - Rebuilds Database
s - Steam ID Look Up
q - Quit
b, this will go to all team pages in the leagues listed in "links.txt" file. (check out the file to learn more)
it will then parse the HTML and insert the players/teams into a local database.
s, asks you to enter steamIDs. enter them in the format of #:######
additionally, you can enter more than 1, just separate them with commas. #:######, #:#####, #:######
Results will only be returned if the user is in the database, otherwise it'll be blank.
I lost the first steamidlookup program I made, so I remade it and put it on my dropbox. The source code is available in the zip file if you want to take a look at it. It's python. The zip SHOULD include all the necessary files to run the executable ... I hope. You may need to have C/C++ runtimes.
If you have any questions, comments, or suggestions let me know and I'll do what I can.
I might try and make a GUI for it, so it doesn't pop up in a shitty terminal, but it gets the job done right now.
Don't use the B function too often. It loads 35~125 pages depending on the links.txt file.




