diff options
author | Rogério Brito <rbrito@ime.usp.br> | 2011-11-01 12:07:05 -0200 |
---|---|---|
committer | Rogério Brito <rbrito@ime.usp.br> | 2011-11-01 12:07:05 -0200 |
commit | 857e5f329ae03ae9710ce926b8fbed25513ef7d9 (patch) | |
tree | 52a7a737e0389fff60590b6551a35ec85da0344f | |
parent | 053419cd245e4af1330bf970a0b919c71cdb3a94 (diff) |
FacebookIE: Fix regexp to recognize videos that weren't considered.
-rwxr-xr-x | youtube-dl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube-dl b/youtube-dl index 4c931b401..30a02e5cd 100755 --- a/youtube-dl +++ b/youtube-dl @@ -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'] |