projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d682f0
)
[bbc] Add another pattern for playlist.sxml (Closes #7743)
author
Sergey M․
<dstftw@gmail.com>
Sun, 6 Dec 2015 10:41:12 +0000
(16:41 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 6 Dec 2015 10:41:12 +0000
(16:41 +0600)
youtube_dl/extractor/bbc.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/bbc.py
b/youtube_dl/extractor/bbc.py
index d89e34ba017846ee7fe0846346f66c2b98b02c40..691aecc0dbb2a9c8c49b75f6e6fc377519752eb3 100644
(file)
--- 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)