Merge branch 'master' into use-other-downloaders
Conflicts: youtube_dl/YoutubeDL.py
This commit is contained in:
commit
f642efff00
@ -279,9 +279,11 @@ class YoutubeDL(object):
|
|||||||
u'NA' if v is None else compat_str(v),
|
u'NA' if v is None else compat_str(v),
|
||||||
restricted=self.params.get('restrictfilenames'),
|
restricted=self.params.get('restrictfilenames'),
|
||||||
is_id=(k == u'id'))
|
is_id=(k == u'id'))
|
||||||
template_dict = dict((k, sanitize(k, v)) for k,v in template_dict.items())
|
template_dict = dict((k, sanitize(k, v))
|
||||||
|
for k, v in template_dict.items())
|
||||||
|
|
||||||
filename = self.params['outtmpl'] % template_dict
|
tmpl = os.path.expanduser(self.params['outtmpl'])
|
||||||
|
filename = tmpl % template_dict
|
||||||
return filename
|
return filename
|
||||||
except KeyError as err:
|
except KeyError as err:
|
||||||
self.report_error(u'Erroneous output template')
|
self.report_error(u'Erroneous output template')
|
||||||
|
@ -220,7 +220,7 @@ class ArteTVCreativeIE(ArteTVPlus7IE):
|
|||||||
u'url': u'http://creative.arte.tv/de/magazin/agentur-amateur-corporate-design',
|
u'url': u'http://creative.arte.tv/de/magazin/agentur-amateur-corporate-design',
|
||||||
u'file': u'050489-002.mp4',
|
u'file': u'050489-002.mp4',
|
||||||
u'info_dict': {
|
u'info_dict': {
|
||||||
u'title': u'Agentur Amateur #2 - Corporate Design',
|
u'title': u'Agentur Amateur / Agence Amateur #2 : Corporate Design',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -90,8 +90,8 @@ class NHLVideocenterIE(NHLBaseInfoExtractor):
|
|||||||
r'{statusIndex:0,index:0,.*?id:(.*?),'],
|
r'{statusIndex:0,index:0,.*?id:(.*?),'],
|
||||||
webpage, u'category id')
|
webpage, u'category id')
|
||||||
playlist_title = self._html_search_regex(
|
playlist_title = self._html_search_regex(
|
||||||
r'\?catid=%s">(.*?)</a>' % cat_id,
|
r'tab0"[^>]*?>(.*?)</td>',
|
||||||
webpage, u'playlist title', flags=re.DOTALL)
|
webpage, u'playlist title', flags=re.DOTALL).lower().capitalize()
|
||||||
|
|
||||||
data = compat_urllib_parse.urlencode({
|
data = compat_urllib_parse.urlencode({
|
||||||
'cid': cat_id,
|
'cid': cat_id,
|
||||||
|
@ -236,11 +236,13 @@ class YoutubeIE(YoutubeBaseInfoExtractor, SubtitlesInfoExtractor):
|
|||||||
'136': 'mp4',
|
'136': 'mp4',
|
||||||
'137': 'mp4',
|
'137': 'mp4',
|
||||||
'138': 'mp4',
|
'138': 'mp4',
|
||||||
'139': 'mp4',
|
|
||||||
'140': 'mp4',
|
|
||||||
'141': 'mp4',
|
|
||||||
'160': 'mp4',
|
'160': 'mp4',
|
||||||
|
|
||||||
|
# Dash mp4 audio
|
||||||
|
'139': 'm4a',
|
||||||
|
'140': 'm4a',
|
||||||
|
'141': 'm4a',
|
||||||
|
|
||||||
# Dash webm
|
# Dash webm
|
||||||
'171': 'webm',
|
'171': 'webm',
|
||||||
'172': 'webm',
|
'172': 'webm',
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
|
|
||||||
__version__ = '2013.10.18.2'
|
__version__ = '2013.10.23'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user