[facebook] Support mobile URLs (closes #8638)

pull/8/head
Yen Chi Hsuan 9 years ago
parent 3cfeb1624a
commit efbeddead3

@ -34,8 +34,9 @@ class FacebookIE(InfoExtractor):
video/video\.php| video/video\.php|
photo\.php| photo\.php|
video\.php| video\.php|
video/embed video/embed|
)\?(?:.*?)(?:v|video_id)=| story\.php
)\?(?:.*?)(?:v|video_id|story_fbid)=|
[^/]+/videos/(?:[^/]+/)? [^/]+/videos/(?:[^/]+/)?
)| )|
facebook: facebook:
@ -92,6 +93,9 @@ class FacebookIE(InfoExtractor):
}, { }, {
'url': 'facebook:544765982287235', 'url': 'facebook:544765982287235',
'only_matching': True, 'only_matching': True,
}, {
'url': 'https://m.facebook.com/story.php?story_fbid=1035862816472149&id=116132035111903',
'only_matching': True,
}] }]
def _login(self): def _login(self):

Loading…
Cancel
Save