aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-01-02 20:55:09 +0600
committerSergey M․ <dstftw@gmail.com>2015-01-02 20:55:09 +0600
commit476eae0c2a7cb4de1f00d050d733f1df1bd6cc0f (patch)
tree665a64eade464aeeca7075148605db55fba34f40 /youtube_dl
parent8399267671938f072b9c6f6b2cbd2fa315b80a23 (diff)
[generic] Generalize BBC iPlayer playlist extraction
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/generic.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py
index 4bb7581ac..fd4ee4667 100644
--- a/youtube_dl/extractor/generic.py
+++ b/youtube_dl/extractor/generic.py
@@ -908,7 +908,7 @@ class GenericIE(InfoExtractor):
# Look for BBC iPlayer embed
matches = re.findall(r'setPlaylist\("(https?://www\.bbc\.co\.uk/iplayer/[^/]+/[\da-z]{8})"\)', webpage)
if matches:
- return self.playlist_result([self.url_result(video_url, ie='BBCCoUk') for video_url in matches])
+ return _playlist_from_matches(matches, ie='BBCCoUk')
# Look for embedded RUTV player
rutv_url = RUTVIE._extract_url(webpage)