|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Pulling a List of Teams into Excel
FIRST added a check on the HTTP Referer header around the time that divisions came out, preventing direct access to event team lists unless linked there from the FIRST website itself. This was presumably to save their server from the deluge of traffic from the various "are divisions out yet" scrapers.
I have a workaround that makes FRCLinks still work, but unfortunately Excel will keep running into that HTTP Referer issue, since it tries to access the data directly at that https://my.usfirst.org URL that FRCLinks redirects to. |
|
#2
|
||||
|
||||
|
Re: Pulling a List of Teams into Excel
Quote:
Dear Frank, Please get your IT guys straightened out and provide a method for FIRST developers to get their info! Thanks, All of FIRST |
|
#3
|
||||
|
||||
|
Re: Pulling a List of Teams into Excel
Is the block just for event teams list? I didn't seem to have a problem with my scouting database macros when I access Team Standing and Match Results.
|
|
#4
|
||||
|
||||
|
Re: Pulling a List of Teams into Excel
I believe it is just for the team lists. I didn't have a problem with my standing and match result queries either...
|
|
#5
|
|||||
|
|||||
|
Re: Pulling a List of Teams into Excel
Anything with a my.usfirst URL is affected.
|
|
#6
|
||||
|
||||
|
Re: Pulling a List of Teams into Excel
I have another spreadsheet that gets the team lists from usfirst website directly and it still works. How do we access through the my.usfirst for team list? I must not have used it that way.
|
|
#7
|
|||||
|
|||||
|
Re: Pulling a List of Teams into Excel
Quote:
You can't directly navigate to https://my.usfirst.org/myarea/index....014&event=casj due to the reason Pat mentioned above. FRCLinks has a redirect hack that makes it work. What page do you use to get team lists that's not a my.usfirst page? |
|
#8
|
|||
|
|||
|
Re: Pulling a List of Teams into Excel
If you need only current data (and not anything historical):
https://my.usfirst.org/frc/scoring/i...page=eventlist contains and ID_event column, which you can use like https://my.usfirst.org/frc/scoring/i...ID_event=10837 (for Traverse City). Is this good enough? |
|
#9
|
||||
|
||||
|
Re: Pulling a List of Teams into Excel
Quote:
Quote:
Interesting, - Sunny G. |
|
#10
|
||||
|
||||
|
Re: Pulling a List of Teams into Excel
Quote:
I was tired last night and got confused. I thought I was pulling team list data from another place. It turns out my other spreadsheet pulls in match schedule and determine the team list that way. It is only useful after match schedule is out and before matches begin. |
|
#11
|
||||
|
||||
|
Re: Pulling a List of Teams into Excel
Oh I was using the www2.usfirst URLs so I didn't realize it. Thanks for the info
|
|
#12
|
||||
|
||||
|
Re: Pulling a List of Teams into Excel
The referrer check is just on https://my.usfirst.org/myarea URLs. The https://my.usfirst.org/frc/scoring URLs are used by FMS to download team lists when setting up at an event. They're tab-separated tables, so they're easier to parse but uglier to look at which is why I implemented the hack in FRCLinks instead of redirecting to them.
You can get the event IDs by looking at the list of all events: https://my.usfirst.org/frc/scoring/index.lasso I'm guessing there's no referrer check on them because then FMS would have had to add that header in its data download requests. |
|
#13
|
|||
|
|||
|
Re: Pulling a List of Teams into Excel
Quote:
|
|
#14
|
||||
|
||||
|
Re: Pulling a List of Teams into Excel
I had a link to them for a very brief period of time one year when divisions were posted there but not on the regular team listings, but not apart from that.
|
|
#15
|
|||
|
|||
|
Re: Pulling a List of Teams into Excel
Any chance we could get a flag for it? (Sorry to add work)
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|