1
0
mirror of https://github.com/l1ving/youtube-dl synced 2020-11-18 19:53:54 -08:00

Update facebook.py

This commit is contained in:
ajj8 2020-01-15 15:59:23 +00:00 committed by GitHub
parent f99698f45d
commit 0c4a0205c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -518,13 +518,15 @@ class FacebookUserIE(InfoExtractor):
_TESTS = [{ _TESTS = [{
# page # page
'url': 'https://www.facebook.com/uniladmag/videos' 'url': 'https://www.facebook.com/Coca-Cola/videos/?ref=page_internal',
'info_dict': {
'id': 'Coca-Cola'
},
'playlist_mincount': 90,
}, { }, {
# page # profile (requires login)
'url': 'https://www.facebook.com/Coca-Cola/videos/?ref=page_internal' 'url': 'https://www.facebook.com/zuck/videos',
}, { 'only_matching': True,
# profile
'url': 'https://www.facebook.com/zuck/videos'
}] }]
def _real_extract(self, url): def _real_extract(self, url):