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] doesn't download video that is watchable from browser #9428

Closed
TRox1972 opened this issue May 7, 2016 · 5 comments
Closed

[NBC] doesn't download video that is watchable from browser #9428

TRox1972 opened this issue May 7, 2016 · 5 comments

Comments

@TRox1972
Copy link
Contributor

@TRox1972 TRox1972 commented May 7, 2016

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like that [x])
  • Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.05.01. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2016.05.01

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

$ youtube-dl -v http://www.nbc.com/the-tonight-show/video/puppies-predict-the-2016-kentucky-derby/3031384
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.nbc.com/the-tonight-show/video/puppies-predict-the-2016-kentucky-derby/3031384']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.05.01
[debug] Python version 2.7.11 - Darwin-15.3.0-x86_64-i386-64bit
[debug] exe versions: avconv 11.4, avprobe 11.4, ffmpeg 3.0.1, ffprobe 3.0.1, rtmpdump 2.4
[debug] Proxy map: {}
[NBC] 3031384: Downloading webpage
[ThePlatform] 3031384: Downloading webpage
[ThePlatform] 3031384: Downloading SMIL data
[ThePlatform] 3031384: Downloading m3u8 information
[ThePlatform] 3031384: Downloading JSON metadata
[debug] Invoking downloader on u'https://nbcmpx-vh.akamaihd.net/i/video/693/351/160505_3031384_Puppies_Predict_the_2016_Kentucky_Derby_mpx_,1696,1296,896,696,496,306,150,240,64,.mp4.csmil/index_0_av.m3u8?null=0&id=AgAu5oaXW4ciDS4OLldzZBjrwVjagS3kRhYeWZwx7pnb4%2fkhGaq34BgQSh5SyXQfYijOEFu%2f9dTtjw%3d%3d&hdntl=exp=1462722478~acl=%2fi%2fvideo%2f693%2f351%2f160505_3031384_Puppies_Predict_the_2016_Kentucky_Derby_mpx_*~data=hdntl~hmac=43ac1a7b31e32688591c20ba18fffff220bc6edf8bd0ab36a23b33504c3150b3'
[download] Destination: Puppies Predict the 2016 Kentucky Derby-3031384.mp4
[debug] avconv command line: avconv -y -headers 'Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip, deflate
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/44.0 (Chrome)
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Cookie: _alid_=U3+TDwn0k63pVAjAJ2lpNA==
' -i 'https://nbcmpx-vh.akamaihd.net/i/video/693/351/160505_3031384_Puppies_Predict_the_2016_Kentucky_Derby_mpx_,1696,1296,896,696,496,306,150,240,64,.mp4.csmil/index_0_av.m3u8?null=0&id=AgAu5oaXW4ciDS4OLldzZBjrwVjagS3kRhYeWZwx7pnb4%2fkhGaq34BgQSh5SyXQfYijOEFu%2f9dTtjw%3d%3d&hdntl=exp=1462722478~acl=%2fi%2fvideo%2f693%2f351%2f160505_3031384_Puppies_Predict_the_2016_Kentucky_Derby_mpx_*~data=hdntl~hmac=43ac1a7b31e32688591c20ba18fffff220bc6edf8bd0ab36a23b33504c3150b3' -c copy -f mp4 -bsf:a aac_adtstoasc 'file:Puppies Predict the 2016 Kentucky Derby-3031384.mp4.part'
avconv version 11.4, Copyright (c) 2000-2014 the Libav developers
  built on Feb 16 2016 19:48:54 with Apple LLVM version 7.0.2 (clang-700.1.81)
[https @ 0x7fba60c977c0] HTTP error 403 Forbidden
Unable to open key file https://nbcmpx-vh.akamaihd.net/i/video/693/351/160505_3031384_Puppies_Predict_the_2016_Kentucky_Derby_mpx_,1696,1296,896,696,496,306,150,240,64,.mp4.csmil/crypt.key?null=0&id=AgAu5oaXW4ciDS4OLldzZBjrwVjagS3kRhYeWZwx7pnb4%2fkhGaq34BgQSh5SyXQfYijOEFu%2f9dTtjw%3d%3d&hdntl=exp=1462722478~acl=/i/video/693/351/160505_3031384_Puppies_Predict_the_2016_Kentucky_Derby_mpx_*~data=hdntl~hmac=43ac1a7b31e32688591c20ba18fffff220bc6edf8bd0ab36a23b33504c3150b3
[http @ 0x7fba62e00260] HTTP error 403 Forbidden
[crypto @ 0x7fba62e00000] Unable to open input
https://nbcmpx-vh.akamaihd.net/i/video/693/351/160505_3031384_Puppies_Predict_the_2016_Kentucky_Derby_mpx_,1696,1296,896,696,496,306,150,240,64,.mp4.csmil/index_0_av.m3u8?null=0&id=AgAu5oaXW4ciDS4OLldzZBjrwVjagS3kRhYeWZwx7pnb4%2fkhGaq34BgQSh5SyXQfYijOEFu%2f9dTtjw%3d%3d&hdntl=exp=1462722478~acl=%2fi%2fvideo%2f693%2f351%2f160505_3031384_Puppies_Predict_the_2016_Kentucky_Derby_mpx_*~data=hdntl~hmac=43ac1a7b31e32688591c20ba18fffff220bc6edf8bd0ab36a23b33504c3150b3: Input/output error


ERROR: ffmpeg exited with code 1
  File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/local/bin/youtube-dl/__main__.py", line 19, in <module>
    youtube_dl.main()
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 419, in main
    _real_main(argv)
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 409, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1732, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 684, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 754, in process_ie_result
    new_result, download=download, extra_info=extra_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 729, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1378, in process_video_result
    self.process_info(new_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1640, in process_info
    success = dl(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1582, in dl
    return fd.download(name, info)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 350, in download
    return self.real_download(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/external.py", line 42, in real_download
    self.get_basename(), retval))
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 161, in report_error
    self.ydl.report_error(*args, **kargs)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 547, in report_error
    self.trouble(error_message, tb)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 509, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):


Description of your issue, suggested solution and other information

I am unable to download this video from NBC.com with youtube-dl, even though it is fully watchable from a browser.

@nyuszika7h
Copy link
Contributor

@nyuszika7h nyuszika7h commented May 9, 2016

Are you using a DNS unblocker? They may not be proxying some domains that youtube-dl uses because it might get the video in a different way.

@TRox1972
Copy link
Contributor Author

@TRox1972 TRox1972 commented May 11, 2016

@nyuszika7h No, I'm not...

@nyuszika7h
Copy link
Contributor

@nyuszika7h nyuszika7h commented May 11, 2016

OK, just wanted to make sure.

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented May 11, 2016

ffmpeg 3.0.2 works for me while avconv v12_dev0.r2683.ge944310-1 fails. Could you install a recent version of ffmpeg and try again with --prefer-ffmpeg?

youtube-dl -v http://www.nbc.com/the-tonight-show/video/puppies-predict-the-2016-kentucky-derby/3031384 --prefer-ffmpeg
@TRox1972
Copy link
Contributor Author

@TRox1972 TRox1972 commented May 11, 2016

@yan12125 Thanks for the tip. I upgraded ffmpeg to the newest version, and it works perfectly now.

@TRox1972 TRox1972 closed this May 11, 2016
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.