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

NBC Broke? #286

Open
jriker1 opened this issue Dec 20, 2020 · 2 comments
Open

NBC Broke? #286

jriker1 opened this issue Dec 20, 2020 · 2 comments

Comments

@jriker1
Copy link

jriker1 commented Dec 20, 2020

Running version 2002.11.11-3 in Windows of Youtube-dlc. Tried downloading Saturday Night Live like I have many times in the past and received an error. The call is:

youtube-dlc --audio-quality 0 --add-metadata --ap-mso Comcast_SSO --ap-username ##### --ap-password ##### https://www.nbc.com/saturday-night-live/video/december-19-kristen-wiig/4280686 -o "Saturday Night Live S46E9.mp4"

Error is:

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--audio-quality', '0', '--add-metadata', '--ap-mso', 'Comcast_SSO', '--ap-username', 'PRIVATE', '--ap-password', 'PRIVATE', 'https://www.nbc.com/saturday-night-live/video/december-19-kristen-wiig/4280686', '-o', 'Saturday Night Live S46E9.mp4', '--verbose']
[debug] Loading archive file None
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] youtube-dlc version 2020.11.11-3
[debug] Python version 3.9.0 (CPython) - Windows-10-10.0.19041-SP0
[debug] exe versions: ffmpeg 4.3.1-2020-10-01-full_build-www.gyan.dev, phantomjs 2.1.1
[debug] Proxy map: {}
[NBC] 4280686: Downloading JSON metadata
Traceback (most recent call last):
File "c:\users\jriker\appdata\local\programs\python\python39\lib\runpy.py", line 197, in _run_module_as_main
return run_code(code, main_globals, None,
File "c:\users\jriker\appdata\local\programs\python\python39\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Users\jriker\AppData\Local\Programs\Python\Python39\Scripts\youtube-dlc.exe_main
.py", line 7, in
File "c:\users\jriker\appdata\local\programs\python\python39\lib\site-packages\youtube_dlc_init
.py", line 487, in main
real_main(argv)
File "c:\users\jriker\appdata\local\programs\python\python39\lib\site-packages\youtube_dlc_init
.py", line 477, in _real_main
retcode = ydl.download(all_urls)
File "c:\users\jriker\appdata\local\programs\python\python39\lib\site-packages\youtube_dlc\YoutubeDL.py", line 2103, in download
res = self.extract_info(
File "c:\users\jriker\appdata\local\programs\python\python39\lib\site-packages\youtube_dlc\YoutubeDL.py", line 830, in extract_info
ie_result = ie.extract(url)
File "c:\users\jriker\appdata\local\programs\python\python39\lib\site-packages\youtube_dlc\extractor\common.py", line 532, in extract
ie_result = self._real_extract(url)
File "c:\users\jriker\appdata\local\programs\python\python39\lib\site-packages\youtube_dlc\extractor\nbc.py", line 135, in _real_extract
video_id = video_data['mpxGuid']
TypeError: 'NoneType' object is not subscriptable

By the way, 5 minutes later it seemed to be working for me but not sure if it's because something changed or I went to their website with my web browser and something got cached. Either way is this working for anyone else and any idea what the above is so I could potentially capture the error and take action when I see it? Without knowing what the error "object is not subscriptable" not sure how to respond to it.

@october262
Copy link

no need to use the username & password.
just use youtube-dlc https://www.nbc.com/saturday-night-live/video/december-19-kristen-wiig/4280686 the show will download

@merval
Copy link

merval commented Dec 25, 2020

the command your using works for me in 2020.11.11-2. I tried both ap-mso and netrc. Reading the stack you provided, it's failing to find anything for the video_id. What's interesting though is the fact you're not getting an authentication error, but you're getting a TypeError.

What I suspect happened, is when you made the request, their back-end server didn't respond correctly and you were left with a bad response.

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

No branches or pull requests

3 participants