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

possible msnbc / nbc confusion #11466

Closed
4 of 8 tasks
2011 opened this issue Dec 17, 2016 · 0 comments
Closed
4 of 8 tasks

possible msnbc / nbc confusion #11466

2011 opened this issue Dec 17, 2016 · 0 comments
Assignees

Comments

@2011
Copy link

2011 commented Dec 17, 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.12.15. 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.12.12

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
Reported this on IRC, and was told to file a bug.

$ youtube-dl -v 'http://www.msnbc.com/msnbc-news/watch/who-is-rex-tillerson-829947459593'
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--restrict-filenames', '-o', '%(title)s-%(id)s-%(uploader)s.%(ext)s', '-w', '-v', 'http://www.msnbc.com/msnbc-news/watch/who-is-rex-tillerson-829947459593']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.12.12-gentoo_no_offensive_sites
[debug] Python version 3.4.5 - Linux-4.4.21-gentoo-x86_64-Intel-R-_Core-TM-_i5_CPU_750_@_2.67GHz-with-gentoo-2.2
[debug] exe versions: ffmpeg 2.8.6, ffprobe 2.8.6, rtmpdump 2.4
[debug] Proxy map: {}
[ThePlatformFeed] 829947459593: Downloading JSON metadata
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.4/youtube-dl", line 9, in <module>
    load_entry_point('youtube-dl===2016.12.12-gentoo-no-offensive-sites', 'console_scripts', 'youtube-dl')()
  File "/usr/lib64/python3.4/site-packages/youtube_dl/__init__.py", line 444, in main
    _real_main(argv)
  File "/usr/lib64/python3.4/site-packages/youtube_dl/__init__.py", line 434, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/lib64/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 1791, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/usr/lib64/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 705, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/lib64/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 763, in process_ie_result
    extra_info=extra_info, download=False, process=False)
  File "/usr/lib64/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 694, in extract_info
    ie_result = ie.extract(url)
  File "/usr/lib64/python3.4/site-packages/youtube_dl/extractor/common.py", line 357, in extract
    return self._real_extract(url)
  File "/usr/lib64/python3.4/site-packages/youtube_dl/extractor/theplatform.py", line 373, in _real_extract
    return self._extract_feed_info(provider_id, feed_id, filter_query, video_id)
  File "/usr/lib64/python3.4/site-packages/youtube_dl/extractor/theplatform.py", line 309, in _extract_feed_info
    entry = self._download_json(real_url, video_id)['entries'][0]
IndexError: list index out of range
---

Here is what I was told by user sulyi:

NBC extractor misses the provider id
I mean it's hardcoded in nbc.py as '2E2eJC', but in this particular case it should be 'HNK2IC'.
The feed does have it:http://feed.theplatform.com/f/2E2eJC/nnd_NBCNews
There should be a problem with the ID then.
It might be a platform specific thing.
Any way: the correct link is http://feed.theplatform.com/f/2E2eJC/nnd_NBCNews?byId=829946947756
it might be just one odd page on msnbc.
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

2 participants