aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRogério Brito <rbrito@ime.usp.br>2011-10-20 20:26:42 -0200
committerRogério Brito <rbrito@ime.usp.br>2011-10-20 20:26:42 -0200
commit0067bbe7a7c7211b3addf120f48ddda611da127e (patch)
tree78718b714ce2bd3c6bf3fa2828ef13a7ba090492
parent45aa690868eb8bd6ddc48a948b65e9317b0bdbed (diff)
FacebookIE: Not all videos are available in all formats.
-rwxr-xr-xyoutube-dl3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube-dl b/youtube-dl
index 3a37fae2e..4449e7301 100755
--- a/youtube-dl
+++ b/youtube-dl
@@ -2712,8 +2712,9 @@ class FacebookIE(InfoExtractor):
_VALID_URL = r'^(?:https?://)?(?:\w+\.)?facebook\.com/video/video\.php\?(?:.*?)v=(?P<ID>\d+)(?:.*)'
_LOGIN_URL = 'https://login.facebook.com/login.php?m&next=http%3A%2F%2Fm.facebook.com%2Fhome.php&'
_NETRC_MACHINE = 'facebook'
- _available_formats = ['highqual', 'lowqual']
+ _available_formats = ['video', 'highqual', 'lowqual']
_video_extensions = {
+ 'video': 'mp4',
'highqual': 'mp4',
'lowqual': 'mp4',
}