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

KeyError: 'url_encoded_fmt_stream_map' #1535

Closed
Elite opened this issue Oct 1, 2013 · 1 comment
Closed

KeyError: 'url_encoded_fmt_stream_map' #1535

Elite opened this issue Oct 1, 2013 · 1 comment

Comments

@Elite
Copy link

@Elite Elite commented Oct 1, 2013

This seems a new one ::

youtube-dl --verbose KpuNjU2ZbgU
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'KpuNjU2ZbgU']
[debug] youtube-dl version 2013.09.29
[debug] Python version 2.7.3 - Linux-3.2.0-4-amd64-x86_64-with-debian-7.1
[debug] Proxy map: {}
[youtube] Setting language
[youtube] KpuNjU2ZbgU: Downloading video webpage
[youtube] KpuNjU2ZbgU: Downloading video info webpage
[youtube] Confirming age
[youtube] KpuNjU2ZbgU: Extracting video information
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl", line 6, in <module>
    youtube_dl.main()
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/__init__.py", line 687, in main
    _real_main(argv)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/__init__.py", line 671, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 588, in download
    videos = self.extract_info(url)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 334, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 103, in extract
    return self._real_extract(url)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 1393, in _real_extract
    m_s = re.search(r'[&,]s=', args['url_encoded_fmt_stream_map'])
KeyError: 'url_encoded_fmt_stream_map'
@phihag phihag closed this in f10503d Oct 1, 2013
@phihag
Copy link
Contributor

@phihag phihag commented Oct 1, 2013

Thanks for the report. It looks like YouTube now serves some videos without the encoded stream map. Fixed in youtube-dl v2013.10.01

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