Quote:
Originally Posted by Pat Fairbank
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"
|
Yes.
Quote:
Originally Posted by compwiztobe
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.
|
AND YES. I have quite a sore spot on my head from figuring out why it wasn't working. Thanks a ton.
- Sunny G.