aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2020-12-11 23:09:18 +0100
committerRemita Amine <remitamine@gmail.com>2020-12-11 23:09:42 +0100
commit3a6b8f4edfddfd5221c28a4f9a6dc2a54c5be202 (patch)
tree9ba4953878453b5df0954242b0f36567a7bce709 /youtube_dl
parent3ae02d4a626b6966ba9678827c5bfc0e8804a2aa (diff)
[facebook] Add support archived live video URLs(closes #15859)
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/facebook.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/youtube_dl/extractor/facebook.py b/youtube_dl/extractor/facebook.py
index 0c48101f8..147deccc9 100644
--- a/youtube_dl/extractor/facebook.py
+++ b/youtube_dl/extractor/facebook.py
@@ -43,7 +43,7 @@ class FacebookIE(InfoExtractor):
video\.php|
video/embed|
story\.php|
- watch/?
+ watch(?:/live)?/?
)\?(?:.*?)(?:v|video_id|story_fbid)=|
[^/]+/videos/(?:[^/]+/)?|
[^/]+/posts/|
@@ -276,6 +276,10 @@ class FacebookIE(InfoExtractor):
'upload_date': '20161122',
'timestamp': 1479793574,
},
+ }, {
+ # data.video.creation_story.attachments[].media
+ 'url': 'https://www.facebook.com/watch/live/?v=1823658634322275',
+ 'only_matching': True,
}]
_SUPPORTED_PAGLETS_REGEX = r'(?:pagelet_group_mall|permalink_video_pagelet|hyperfeed_story_id_[0-9a-f]+)'