aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-12-06 16:41:12 +0600
committerSergey M․ <dstftw@gmail.com>2015-12-06 16:41:12 +0600
commit222e11d4ae7d424cd71d9ba87762ce169c0a8c87 (patch)
treec972f6f93dc5dd6d18d90d9597d3c808682909bb /youtube_dl
parent7d682f0acb44d72a2c1d0d52fae151f3c273874d (diff)
[bbc] Add another pattern for playlist.sxml (Closes #7743)
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/bbc.py1
1 files changed, 1 insertions, 0 deletions
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'<param[^>]+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)