mirror of https://github.com/yt-dlp/yt-dlp.git
[ie/facebook] fix _VALID_URL and add tests
This commit is contained in:
parent
f919729538
commit
9f0aa09255
|
@ -50,7 +50,7 @@ class FacebookIE(InfoExtractor):
|
|||
[^/]+/videos/(?:[^/]+/)?|
|
||||
[^/]+/posts/|
|
||||
events/(?:[^/]+/)?|
|
||||
groups/[^/]+/(?:permalink|posts)/|
|
||||
groups/[^/]+/(?:permalink|posts)/(?:[0-9a-f]*/)?|
|
||||
watchparty/
|
||||
)|
|
||||
facebook:
|
||||
|
@ -410,6 +410,9 @@ class FacebookIE(InfoExtractor):
|
|||
'uploader': 'Comitato Liberi Pensatori',
|
||||
'uploader_id': '100065709540881',
|
||||
},
|
||||
}, {
|
||||
'url': 'https://www.facebook.com/groups/1513990329015294/posts/d41d8cd9/2013209885760000/?app=fbl',
|
||||
'only_matching': True,
|
||||
}]
|
||||
_SUPPORTED_PAGLETS_REGEX = r'(?:pagelet_group_mall|permalink_video_pagelet|hyperfeed_story_id_[0-9a-f]+)'
|
||||
_api_config = {
|
||||
|
|
Loading…
Reference in New Issue