1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

[pbs] fix the least bitrate http url construction

This commit is contained in:
remitamine 2016-04-30 11:12:11 +01:00
parent cbc032c8b7
commit 350d7963db

View file

@ -514,6 +514,8 @@ class PBSIE(InfoExtractor):
bitrate = self._search_regex(r'(\d+k)', m3u8_format['url'], 'bitrate', default=None)
if not bitrate:
continue
if bitrate == '192k':
bitrate = 'baseline'
f = m3u8_format.copy()
f.update({
'url': re.sub(r'\d+k|baseline', bitrate, http_url),