Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AFLW cookie no longer working #62

Closed
jimmyday12 opened this issue Mar 2, 2019 · 0 comments
Closed

AFLW cookie no longer working #62

jimmyday12 opened this issue Mar 2, 2019 · 0 comments
Labels
bug

Comments

@jimmyday12
Copy link
Owner

@jimmyday12 jimmyday12 commented Mar 2, 2019

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 :(

  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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.