]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[bbc.co.uk] fix extraction for 320k m3u8 streams
authorRemita Amine <remitamine@gmail.com>
Tue, 12 Dec 2017 17:04:05 +0000 (18:04 +0100)
committerRemita Amine <remitamine@gmail.com>
Tue, 12 Dec 2017 17:04:05 +0000 (18:04 +0100)
broken since 197224b7a4e37a6581bf1a0da18d0f67ea61a476

youtube_dl/extractor/bbc.py

index 5525f7c9b998c57271aba072bb698f6c03b36777..8b20c03d6e424b95e42b1bea1ac3fb91e24bea11 100644 (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: