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

Problems with downloading games from watch.nba.com #12675

Open
mariuszkorba opened this issue Apr 7, 2017 · 6 comments
Open

Problems with downloading games from watch.nba.com #12675

mariuszkorba opened this issue Apr 7, 2017 · 6 comments

Comments

@mariuszkorba
Copy link

@mariuszkorba mariuszkorba commented Apr 7, 2017

Hi

Great project - really useful for watching videos off-line.

Though I cannot get the latest binary to download anything from my NBA League Pass subscription.
Tried all flavour of the url, i.e.: https://watch.nba.com/game/20170407/ATLCLE?s=i
and getting:

ERROR: Unable to extract video id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

When in verbose I'm getting this:

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'https://watch.nba.com/game/20170407/ATLCLE?s=i', u'--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.04.03
[debug] Python version 2.7.10 - Darwin-15.6.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg N-85274-g9fe73b0-tessus
[debug] Proxy map: {}
[NBA] ATLCLE: Downloading webpage
ERROR: Unable to extract video id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 761, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 429, in extract
ie_result = self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/nba.py", line 137, in _real_extract
path = remove_start(self._search_regex(r'data-videoid="([^"]+)"', webpage, 'video id'), '/')
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 778, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract video id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Does anyone have the same issue or know other way of downloading games from nba?
Would appreciate your comments / views

Cheers
m

@masonelmore
Copy link

@masonelmore masonelmore commented Apr 8, 2017

It looks like the site requires authentication. I'm not able to test it because I do not have an account. Have you tried using the --username and --password options?

youtube-dl --username YOUR_USERNAME --password YOUR_PASSWORD https://watch.nba.com/game/20170407/ATLCLE?s=i

@roselove33
Copy link

@roselove33 roselove33 commented Apr 8, 2017

Hello

@mariuszkorba
Copy link
Author

@mariuszkorba mariuszkorba commented Apr 8, 2017

Hi masonelmore

Thanks for your comment.
Yeap, tried the -u and -p but unfortunately no joy - I get the same error... :(

m

@chainikdn
Copy link

@chainikdn chainikdn commented Oct 13, 2018

I can provide an active account credentials if someone will try to investigate this one.

@ghost
Copy link

@ghost ghost commented Nov 3, 2018

Same problem, --username and --password options doesn't solve it, can provide active NBA League Pass account credentials to developers, NBA website seems to be supported on the youtube-dl list

@remitamine remitamine added the DRM label Nov 3, 2018
@OddBloke
Copy link

@OddBloke OddBloke commented Feb 16, 2019

I'm also seeing this issue using cookies.txt from watch.nba.com

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
6 participants
You can’t perform that action at this time.