FacebookIE: Not all videos are available in all formats.
authorRogério Brito <rbrito@ime.usp.br>
Thu, 20 Oct 2011 22:26:42 +0000 (20:26 -0200)
committerRogério Brito <rbrito@ime.usp.br>
Thu, 20 Oct 2011 22:26:42 +0000 (20:26 -0200)
youtube-dl

index 3a37fae..4449e73 100755 (executable)
@@ -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',
        }