![]() |
FIRST Website Team Pages?
I am getting ready to update The Blue Alliance to have 2010 data for all teams. However, FIRST has changed their website, and I can't figure out how to find the URL for a team's information page.
For instance: Team 177 is at https://my.usfirst.org/myarea/index....ils&tpid=28633 Team 195 is at https://my.usfirst.org/myarea/index....ils&tpid=28651 This makes it appear that you can find a FIRST team's page by setting the "tpid" parameter to be equal to "28456 + Team Number". This suggests that Team 111's page should be https://my.usfirst.org/myarea/index....ils&tpid=28567, but this is in fact the page for Team 115. Is there any way to turn a team number into a USFIRST.org team information page URL without any prior knowledge of how their database is structured? Pat Fairbank seems to have figured it out for frclinks.com, but I am not sure how he has done it. Thanks! |
Re: FIRST Website Team Pages?
Quote:
|
Re: FIRST Website Team Pages?
Pat posted how he did it in your previous thread: http://www.chiefdelphi.com/forums/sh...ad.php?t=78368
|
Re: FIRST Website Team Pages?
Quote:
Quote:
I wish this were easier. I was able to get this URL for listing Teams, but it's hardcoded to max out at 250 teams listed. I was hoping to get every single team on the page at once, and then scrape out all the team URLs in one go. This approach won't work on its own. https://my.usfirst.org/myarea/index....asons_frc=2010 |
Re: FIRST Website Team Pages?
1 Attachment(s)
Attached is a CSV with every team competing in 2010's team number and tpid, which is the number FIRST uses to refer to the team. Hopefully this will be useful to someone in the future.
|
Re: FIRST Website Team Pages?
Quote:
In python: Code:
URL = re.search("window.location.*?=.*?\"(.*)\"",Content).group(1) |
Re: FIRST Website Team Pages?
Quote:
|
Re: FIRST Website Team Pages?
|
| All times are GMT -5. The time now is 22:15. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi