[youtube] Download DASH manifest

If given, download and parse the DASH manifest file, in order to get ultra-HQ formats.
Fixes #2166
This commit is contained in:
Philipp Hagemeister
2014-01-19 05:47:20 +01:00
parent dfa50793d8
commit dd27fd1739
4 changed files with 76 additions and 27 deletions

View File

@ -1091,6 +1091,8 @@ class YoutubeDL(object):
res += 'audio'
if fdict.get('abr') is not None:
res += '@%3dk' % fdict['abr']
if fdict.get('asr') is not None:
res += ' (%5dHz)' % fdict['asr']
if fdict.get('filesize') is not None:
if res:
res += ', '