diff options
author | Yen Chi Hsuan <yan12125@gmail.com> | 2015-04-18 16:08:24 +0800 |
---|---|---|
committer | Yen Chi Hsuan <yan12125@gmail.com> | 2015-04-18 16:08:24 +0800 |
commit | 53faa3ca5f62c46bb56c0a85d1ed87b911b7ffa4 (patch) | |
tree | 59e3a4ade80b4bb735aea6956ce16d92dc8463fe /youtube_dl/extractor/facebook.py | |
parent | c62566971fb8877d5ac52bc613d3bd53fe87a8d8 (diff) |
[facebook] Extend _VALID_URL take 2 (#5120)
Diffstat (limited to 'youtube_dl/extractor/facebook.py')
-rw-r--r-- | youtube_dl/extractor/facebook.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/facebook.py b/youtube_dl/extractor/facebook.py index f3a68b21d..937b28fcc 100644 --- a/youtube_dl/extractor/facebook.py +++ b/youtube_dl/extractor/facebook.py @@ -27,7 +27,7 @@ class FacebookIE(InfoExtractor): (?: (?:video/video\.php|photo\.php|video\.php|video/embed)\?(?:.*?) (?:v|video_id)=| - [^/]+/videos/ + [^/]+/videos/(?:[^/]+/)? ) (?P<id>[0-9]+) (?:.*)''' @@ -57,6 +57,9 @@ class FacebookIE(InfoExtractor): }, { 'url': 'https://www.facebook.com/amogood/videos/1618742068337349/?fref=nf', 'only_matching': True, + }, { + 'url': 'https://www.facebook.com/ChristyClarkForBC/videos/vb.22819070941/10153870694020942/?type=2&theater', + 'only_matching': True, }] def _login(self): |