1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-22 10:11:52 +00:00

[facebook] proper support for watch videos(closes #22795)(#27062)

This commit is contained in:
Remita Amine 2020-12-11 16:05:47 +01:00
parent ad5e5788ff
commit 432c6b0f48

View file

@ -41,7 +41,8 @@ class FacebookIE(InfoExtractor):
photo\.php|
video\.php|
video/embed|
story\.php
story\.php|
watch/?
)\?(?:.*?)(?:v|video_id|story_fbid)=|
[^/]+/videos/(?:[^/]+/)?|
[^/]+/posts/|
@ -239,6 +240,10 @@ class FacebookIE(InfoExtractor):
'id': '106560053808006',
},
'playlist_count': 2,
}, {
# data.video.story.attachments[].media
'url': 'https://www.facebook.com/watch/?v=647537299265662',
'only_matching': True,
}]
@staticmethod