0
0
Fork 0

[facebook] Extend _VALID_URL take 2 (#5120)

main
Yen Chi Hsuan 2015-04-18 16:08:24 +08:00
parent c62566971f
commit 53faa3ca5f
1 changed files with 4 additions and 1 deletions

View File

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