From: Yen Chi Hsuan Date: Tue, 23 Feb 2016 05:17:24 +0000 (+0800) Subject: [facebook] Support mobile URLs (closes #8638) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=efbeddead35582126c622a74972af02db9680357;p=youtube-dl [facebook] Support mobile URLs (closes #8638) --- diff --git a/youtube_dl/extractor/facebook.py b/youtube_dl/extractor/facebook.py index 0a9a5ca71..d2ff38140 100644 --- a/youtube_dl/extractor/facebook.py +++ b/youtube_dl/extractor/facebook.py @@ -34,8 +34,9 @@ class FacebookIE(InfoExtractor): video/video\.php| photo\.php| video\.php| - video/embed - )\?(?:.*?)(?:v|video_id)=| + video/embed| + story\.php + )\?(?:.*?)(?:v|video_id|story_fbid)=| [^/]+/videos/(?:[^/]+/)? )| facebook: @@ -92,6 +93,9 @@ class FacebookIE(InfoExtractor): }, { 'url': 'facebook:544765982287235', 'only_matching': True, + }, { + 'url': 'https://m.facebook.com/story.php?story_fbid=1035862816472149&id=116132035111903', + 'only_matching': True, }] def _login(self):