1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-05-21 12:39:33 +00:00

[bbc] Add another pattern for playlist.sxml (Closes #7743)

This commit is contained in:
Sergey M․ 2015-12-06 16:41:12 +06:00
parent 7d682f0acb
commit 222e11d4ae

View file

@ -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)