1
0
mirror of https://github.com/yt-dlp/yt-dlp synced 2025-07-02 12:02:52 -05:00

[facebook] Add support for plugin video embeds and multiple embeds (closes #13493)

This commit is contained in:
Sergey M․
2017-06-27 22:25:34 +07:00
parent bf2dc9cc6e
commit 0646e34c7d
3 changed files with 17 additions and 16 deletions

View 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',