Browse Source

FacebookIE: Fix regexp to recognize videos that weren't considered.

rtmp_test
Rogério Brito 13 years ago
parent
commit
857e5f329a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube-dl

+ 1
- 1
youtube-dl View File

@ -2709,7 +2709,7 @@ class DepositFilesIE(InfoExtractor):
class FacebookIE(InfoExtractor):
"""Information Extractor for Facebook"""
_VALID_URL = r'^(?:https?://)?(?:\w+\.)?facebook\.com/video/video\.php\?(?:.*?)v=(?P<ID>\d+)(?:.*)'
_VALID_URL = r'^(?:https?://)?(?:\w+\.)?facebook\.com/(?:video/video|photo)\.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 = ['video', 'highqual', 'lowqual']


Loading…
Cancel
Save