mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-16 22:28:18 +01:00
[facebook] Extend _VALID_URL take 2 (#5120)
This commit is contained in:
parent
c62566971f
commit
53faa3ca5f
@ -27,7 +27,7 @@ class FacebookIE(InfoExtractor):
|
|||||||
(?:
|
(?:
|
||||||
(?:video/video\.php|photo\.php|video\.php|video/embed)\?(?:.*?)
|
(?:video/video\.php|photo\.php|video\.php|video/embed)\?(?:.*?)
|
||||||
(?:v|video_id)=|
|
(?:v|video_id)=|
|
||||||
[^/]+/videos/
|
[^/]+/videos/(?:[^/]+/)?
|
||||||
)
|
)
|
||||||
(?P<id>[0-9]+)
|
(?P<id>[0-9]+)
|
||||||
(?:.*)'''
|
(?:.*)'''
|
||||||
@ -57,6 +57,9 @@ class FacebookIE(InfoExtractor):
|
|||||||
}, {
|
}, {
|
||||||
'url': 'https://www.facebook.com/amogood/videos/1618742068337349/?fref=nf',
|
'url': 'https://www.facebook.com/amogood/videos/1618742068337349/?fref=nf',
|
||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
|
}, {
|
||||||
|
'url': 'https://www.facebook.com/ChristyClarkForBC/videos/vb.22819070941/10153870694020942/?type=2&theater',
|
||||||
|
'only_matching': True,
|
||||||
}]
|
}]
|
||||||
|
|
||||||
def _login(self):
|
def _login(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user