projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c625669
)
[facebook] Extend _VALID_URL take 2 (#5120)
author
Yen Chi Hsuan
<yan12125@gmail.com>
Sat, 18 Apr 2015 08:08:24 +0000
(16:08 +0800)
committer
Yen Chi Hsuan
<yan12125@gmail.com>
Sat, 18 Apr 2015 08:08:24 +0000
(16:08 +0800)
youtube_dl/extractor/facebook.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/facebook.py
b/youtube_dl/extractor/facebook.py
index f3a68b21d839b249112611eb62ad91f92dbd9e8f..937b28fcccf3bd58929adcca1bda9d05966460e5 100644
(file)
--- 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):