TPG Steam Id Lookup Tool

All things KTP League.

Moderators: mogers, toxinatoR, Nein_

JustiN-_^
Posts: 110
Joined: Fri Feb 18, 2011 11:41 pm
Clans: Flatout

TPG Steam Id Lookup Tool

Post by JustiN-_^ »

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.
Last edited by JustiN-_^ on Thu Apr 12, 2012 2:05 pm, edited 1 time in total.
milo
Posts: 1379
Joined: Sun Mar 20, 2011 9:31 pm
Clans: Liverpool Football Club
Location: Anfield, Liverpool

Re: TPG Steam Id Lookup Tool

Post by milo »

Image
JustiN-_^
Posts: 110
Joined: Fri Feb 18, 2011 11:41 pm
Clans: Flatout

Re: TPG Steam Id Lookup Tool

Post by JustiN-_^ »

Image
ComptonAssTony
Posts: 204
Joined: Wed May 25, 2011 12:07 pm
Clans: CrazyNiceGuys, General Infantry, dtH?, h8, Laudable, NoGo, onlineTHUNDER
Location: SoCal

Re: TPG Steam Id Lookup Tool

Post by ComptonAssTony »

Image
rehpyc
Posts: 423
Joined: Mon May 30, 2011 11:37 pm
Clans: compLexity, LATELATELATE, THUNDER, gskiLL

Re: TPG Steam Id Lookup Tool

Post by rehpyc »

Perhaps quickly glancing at this hasn't given me a full understanding of what you created, but wouldn't it simply have been easier for Narc to put a SteamID search function on the TPG website?
fghtffyrdmns
Posts: 159
Joined: Mon Jan 16, 2012 12:09 pm
Clans: D.R.U.G.S.

Re: TPG Steam Id Lookup Tool

Post by fghtffyrdmns »

Image
defrag
Posts: 336
Joined: Sat Oct 15, 2011 9:43 am
Clans: KSP-A, Team.SI, deadboLT, idleyez, |3h|

Re: TPG Steam Id Lookup Tool

Post by defrag »

rehpyc wrote:Perhaps quickly glancing at this hasn't given me a full understanding of what you created, but wouldn't it simply have been easier for Narc to put a SteamID search function on the TPG website?
A dream that will never become a reality.
fghtffyrdmns wrote:Image
I got a good laugh out of that.
JustiN-_^
Posts: 110
Joined: Fri Feb 18, 2011 11:41 pm
Clans: Flatout

Re: TPG Steam Id Lookup Tool

Post by JustiN-_^ »

rehpyc wrote:Perhaps quickly glancing at this hasn't given me a full understanding of what you created, but wouldn't it simply have been easier for Narc to put a SteamID search function on the TPG website?

I filed a ticket and asked Bullet to do it. If he'd let me, I could probably do it in a day or 2. But for the meantime, this is a pretty useful legit-proof alternative that creates a list of all teams/players/divisions and lets you search it for SteamIDs.
cassinoroyale
Posts: 1794
Joined: Sun May 01, 2011 4:23 pm
Clans: d7, @ NeT, CNB, dW, MVPz, Owned, rr, dodod, iwa, 3h
Location: Rio de Janeiro, Brazil
Contact:

Re: TPG Steam Id Lookup Tool

Post by cassinoroyale »

Image
Sp3c-BuLLeT
Posts: 432
Joined: Sun Aug 14, 2011 4:20 pm
Clans: Sp3c, P(o)s, NoL, cBerry, MVPz, ICE, vVv, HH
Location: Pittsburgh, PA
Contact:

Re: TPG Steam Id Lookup Tool

Post by Sp3c-BuLLeT »

My response to Justin's support ticket:

"The TPG website DOES have a Steam ID lookup feature. It is just only available to admins. I can't expose that one, because it displays information the general public shouldn't see and also links to the edit player page, but I will add it to my to do list to make one that simply takes a steam ID and returns the information about the user that the general public can see (handle, team, name, etc...) Thanks for the idea."

I have a few more minor bugs to work out from when we switched servers and I have a few admin tools that I need to finish up for Narc first, but when those are done I will make this and put it on the site.
JustiN-_^
Posts: 110
Joined: Fri Feb 18, 2011 11:41 pm
Clans: Flatout

Re: TPG Steam Id Lookup Tool

Post by JustiN-_^ »

Awesome! I talked with others in the past about the feature, I should have just gone to you. I put this program out there to just raise awareness about it.

I didn't know there was a TPG support ticket process until I read the last news bulletin, lol.

Also, I wasn't able to find your username on these forums because the members page is broken...
defiance
Posts: 1415
Joined: Thu Apr 14, 2011 11:56 am

Re: TPG Steam Id Lookup Tool

Post by defiance »

Bullet is the man behind the curtain
Sp3c-BuLLeT
Posts: 432
Joined: Sun Aug 14, 2011 4:20 pm
Clans: Sp3c, P(o)s, NoL, cBerry, MVPz, ICE, vVv, HH
Location: Pittsburgh, PA
Contact:

Re: TPG Steam Id Lookup Tool

Post by Sp3c-BuLLeT »

I think it is safe to unsticky this... just sayin...
Post Reply