aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/facebook.py
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2016-03-11 16:20:27 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2016-03-11 16:20:27 +0800
commite738e43358a7f34dbbcb73b45b228d7b9b3360a7 (patch)
tree054fe6888d8a44d8dbc9e2a3fa1d5d95eeaee079 /youtube_dl/extractor/facebook.py
parentf6f6217a98adc07c41f7a45a9068aeaf706ad862 (diff)
[facebook] Support videos in groups
Viewing/Downloading videos in groups requires logging in, even for those in public groups. Fixes #6951.
Diffstat (limited to 'youtube_dl/extractor/facebook.py')
-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 5e8589479..f5bbd39d2 100644
--- a/youtube_dl/extractor/facebook.py
+++ b/youtube_dl/extractor/facebook.py
@@ -38,7 +38,8 @@ class FacebookIE(InfoExtractor):
story\.php
)\?(?:.*?)(?:v|video_id|story_fbid)=|
[^/]+/videos/(?:[^/]+/)?|
- [^/]+/posts/
+ [^/]+/posts/|
+ groups/[^/]+/permalink/
)|
facebook:
)
@@ -123,6 +124,9 @@ class FacebookIE(InfoExtractor):
}, {
'url': 'facebook:544765982287235',
'only_matching': True,
+ }, {
+ 'url': 'https://www.facebook.com/groups/164828000315060/permalink/764967300301124/',
+ 'only_matching': True,
}]
def _login(self):