1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-12-27 21:15:49 +01:00

[bbc.co.uk] fix extraction for 320k m3u8 streams

broken since 197224b7a4
This commit is contained in:
Remita Amine 2017-12-12 18:04:05 +01:00
parent e6b8803d59
commit 6b2d8c9182

View File

@ -386,7 +386,7 @@ class BBCCoUkIE(InfoExtractor):
m3u8_id=format_id, fatal=False))
if re.search(self._USP_RE, href):
usp_formats = self._extract_m3u8_formats(
re.sub(self._USP_RE, r'/\1\.ism/\1\.m3u8', href),
re.sub(self._USP_RE, r'/\1.ism/\1.m3u8', href),
programme_id, ext='mp4', entry_protocol='m3u8_native',
m3u8_id=format_id, fatal=False)
for f in usp_formats: