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

[nba] Add support for authentication #5579

Open
philhawksworth opened this issue May 2, 2015 · 2 comments
Open

[nba] Add support for authentication #5579

philhawksworth opened this issue May 2, 2015 · 2 comments

Comments

@philhawksworth
Copy link

@philhawksworth philhawksworth commented May 2, 2015

Attempting to download video from http://watch.nba.com (eg http://watch.nba.com/nba/games/20150501/ATLBKN/41400106) resulted in an "unsupported UR" error.

The request was made with appropriate username and password credentials for the resource.

Is support for http://watch.nba.com different to http://nba.com, which is listed as a supported domain?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented May 2, 2015

http://watch.nba.com/nba/games/20150501/ATLBKN/41400106z is 404. Assuming 'z' at the end is superfluous I still can't see any video on this page.

@philhawksworth
Copy link
Author

@philhawksworth philhawksworth commented May 2, 2015

Yes that z was superfluous (apologies).

You'd need to be logged in for the page to include a video. Another example URL would be:
http://watch.nba.com/nba/games/20150420/NOPGSW/41400142

The form of the URL seems to be http://watch.nba.com/nba/games/{DATE_STRING}/{VISITING_TEAM}{HOME_TEAM}/{SOME_ID_I_DONT_UNDERSTAND}

nba.com seems to do quite a bit with JavaScript to manipulate the content of the page and populate the Flash movie player with the correct content depending on suitable authentication and how the user navigates the menus.

Frustrating!

@dstftw dstftw changed the title NBA urls no longer supported [nba] Add support for authentication May 2, 2015
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
3 participants
You can’t perform that action at this time.