From: Sergey M․ Date: Sun, 6 Dec 2015 10:41:12 +0000 (+0600) Subject: [bbc] Add another pattern for playlist.sxml (Closes #7743) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=222e11d4ae7d424cd71d9ba87762ce169c0a8c87;p=youtube-dl [bbc] Add another pattern for playlist.sxml (Closes #7743) --- diff --git a/youtube_dl/extractor/bbc.py b/youtube_dl/extractor/bbc.py index d89e34ba0..691aecc0d 100644 --- a/youtube_dl/extractor/bbc.py +++ b/youtube_dl/extractor/bbc.py @@ -733,6 +733,7 @@ class BBCIE(BBCCoUkIE): # article with multiple videos embedded with playlist.sxml (e.g. # http://www.bbc.com/sport/0/football/34475836) playlists = re.findall(r']+name="playlist"[^>]+value="([^"]+)"', webpage) + playlists.extend(re.findall(r'data-media-id="([^"]+/playlist\.sxml)"', webpage)) if playlists: entries = [ self._extract_from_playlist_sxml(playlist_url, playlist_id, timestamp)