]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/buzzfeed.py
debian/changelog: Annotate with bug being closed.
[youtubedl] / youtube_dl / extractor / buzzfeed.py
index 75fa92d7cfc0204f4539e10c762585b2537abbb6..ec411091efe7dc15b28c7f4a3939bff89395fa59 100644 (file)
@@ -84,9 +84,10 @@ class BuzzFeedIE(InfoExtractor):
                 continue
             entries.append(self.url_result(video['url']))
 
-        facebook_url = FacebookIE._extract_url(webpage)
-        if facebook_url:
-            entries.append(self.url_result(facebook_url))
+        facebook_urls = FacebookIE._extract_urls(webpage)
+        entries.extend([
+            self.url_result(facebook_url)
+            for facebook_url in facebook_urls])
 
         return {
             '_type': 'playlist',