aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorremitamine <remitamine@gmail.com>2016-04-30 11:12:11 +0100
committerremitamine <remitamine@gmail.com>2016-04-30 11:12:11 +0100
commit350d7963db671884acd43f56f41bd499efd8e74a (patch)
treee5af0dbf766af27be67304bddfd600737d5d458a
parentcbc032c8b70a038a69259378c92b4ba97b42d491 (diff)
[pbs] fix the least bitrate http url construction
-rw-r--r--youtube_dl/extractor/pbs.py2
1 files changed, 2 insertions, 0 deletions
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),