Browse Source

[facebook] Support mobile URLs (closes #8638)

totalwebcasting
Yen Chi Hsuan 9 years ago
parent
commit
efbeddead3
1 changed files with 6 additions and 2 deletions
  1. +6
    -2
      youtube_dl/extractor/facebook.py

+ 6
- 2
youtube_dl/extractor/facebook.py View File

@ -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):


Loading…
Cancel
Save