Browse Source

[facebook] Support videos in groups

Viewing/Downloading videos in groups requires logging in, even for
those in public groups.

Fixes #6951.
totalwebcasting
Yen Chi Hsuan 9 years ago
parent
commit
e738e43358
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      youtube_dl/extractor/facebook.py

+ 5
- 1
youtube_dl/extractor/facebook.py View File

@ -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):


Loading…
Cancel
Save