From: Yen Chi Hsuan Date: Fri, 11 Mar 2016 08:20:27 +0000 (+0800) Subject: [facebook] Support videos in groups X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=e738e43358a7f34dbbcb73b45b228d7b9b3360a7;p=youtube-dl.git [facebook] Support videos in groups Viewing/Downloading videos in groups requires logging in, even for those in public groups. Fixes #6951. --- 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):