Closed jimmyday12 closed 5 years ago
The function get_aflw_cookie() now returns NULL.
get_aflw_cookie()
This is passed onto all other AFLW functions and so they are failing.
Digging a bit deeper, it seems either the URL of the API has changed or we've been blocked :(
response <- httr::POST("http://www.afl.com.au/api/cfs/afl/WMCTok") response #> Response [https://www.afl.com.au/api/cfs/afl/WMCTok] #> Date: 2019-03-02 22:13 #> Status: 403 #> Content-Type: text/html; charset=iso-8859-1 #> Size: 220 B #> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> #> <html><head> #> <title>403 Forbidden</title> #> </head><body> #> <h1>Forbidden</h1> #> <p>You don't have permission to access /api/cfs/afl/WMCTok #> on this server.</p> #> </body></html> <sup>Created on 2019-03-03 by the [reprex package](https://reprex.tidyverse.org) (v0.2.1)</sup>
I guess either we need to find the new URL (instead of https://www.afl.com.au/api/cfs/afl/WMCTok) or we depreciate the AFLW stuff.
@OscarLane how did you find this originally? Any thoughts?
The function
get_aflw_cookie()
now returns NULL.This is passed onto all other AFLW functions and so they are failing.
Digging a bit deeper, it seems either the URL of the API has changed or we've been blocked :(
I guess either we need to find the new URL (instead of https://www.afl.com.au/api/cfs/afl/WMCTok) or we depreciate the AFLW stuff.
@OscarLane how did you find this originally? Any thoughts?