View Single Post
  #114   Spotlight this post!  
Unread 26-09-2014, 16:28
Aren Siekmeier's Avatar
Aren Siekmeier Aren Siekmeier is offline
on walkabout
FRC #2175 (The Fighting Calculators)
Team Role: Mentor
 
Join Date: Apr 2008
Rookie Year: 2008
Location: 대한민국
Posts: 735
Aren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond repute
Re: Registration 2015

Quote:
Originally Posted by Pat Fairbank View Post
Yes, the event pages now require a Referer header that contains the string "usfirst.org", otherwise they show up blank.

FRCLinks gets around this by adding an intermediate redirect to another frclinks.com URL that happens to contain "usfirst.org".

If you're getting data programmatically instead of in the browser, it's pretty easy to get around this. E.g:
Code:
curl -H "Referer: usfirst.org" "https://my.usfirst.org/myarea/index.lasso?page=teamlist&event_type=FRC&sort_teams=number&year=2015&event=casj"
It appears even with the Referer header, the event_details page always reads eid as invalid, until a different page (such as another frclinks request or a request directly to my.usfirst.org) establishes a cookie. This cookie also needs to be supplied to the event_details page, while it's not needed for other requests.