For the past year, I’ve been using Excel’s web queries to pull a list of teams attending the event. The process is relatively simple, go to frclinks.com/event/gadu, point to the table that contains the information, and bam, done.
However, recently, the web queries have been failing, and the information isn’t showing up.
I’m at a bit of a loss and am wondering if anyone else is either (a) seeing a similar failure and (b) has a solution that let’s me continue to avoid parsing through the HTML.
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.
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.
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.
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.
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.
Didn’t FRCLinks previously have a link to these more ugly events? I use them for a lot of my analysis as the data is easier to parse but I always have to search for the links.
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.