From 350d7963db671884acd43f56f41bd499efd8e74a Mon Sep 17 00:00:00 2001 From: remitamine Date: Sat, 30 Apr 2016 11:12:11 +0100 Subject: [PATCH] [pbs] fix the least bitrate http url construction --- youtube_dl/extractor/pbs.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/youtube_dl/extractor/pbs.py b/youtube_dl/extractor/pbs.py index 38cdb9975..75c36a621 100644 --- a/youtube_dl/extractor/pbs.py +++ b/youtube_dl/extractor/pbs.py @@ -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), -- 2.22.2