projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6f6217
)
[facebook] Support videos in groups
author
Yen Chi Hsuan
<yan12125@gmail.com>
Fri, 11 Mar 2016 08:20:27 +0000
(16:20 +0800)
committer
Yen Chi Hsuan
<yan12125@gmail.com>
Fri, 11 Mar 2016 08:20:27 +0000
(16:20 +0800)
Viewing/Downloading videos in groups requires logging in, even for
those in public groups.
Fixes #6951.
youtube_dl/extractor/facebook.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/facebook.py
b/youtube_dl/extractor/facebook.py
index 5e8589479d4ce5ae57240c4432494b8348b5523a..f5bbd39d2d0e90996c118e3fae325034fc2bbb6d 100644
(file)
--- 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):