projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ae02d4
)
[facebook] Add support archived live video URLs(closes #15859)
author
Remita Amine
<remitamine@gmail.com>
Fri, 11 Dec 2020 22:09:18 +0000
(23:09 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Fri, 11 Dec 2020 22:09:42 +0000
(23:09 +0100)
youtube_dl/extractor/facebook.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/facebook.py
b/youtube_dl/extractor/facebook.py
index 0c48101f879920111da26e9da0e2e0d3af7f7a87..147deccc9e60b4c4273850df53637b0020ed40ec 100644
(file)
--- 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]+)'