mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-05 23:11:24 +01:00
Compare commits
2 Commits
e135a1f50a
...
9ed1d0ffee
Author | SHA1 | Date | |
---|---|---|---|
|
9ed1d0ffee | ||
|
b8bcccb020 |
|
@ -893,7 +893,7 @@ class FacebookReelIE(InfoExtractor):
|
|||
|
||||
|
||||
class FacebookAdsIE(InfoExtractor):
|
||||
_VALID_URL = r'https?://(?:[\w-]+\.)?facebook\.com/ads/library/\?id=(?P<id>\d+)'
|
||||
_VALID_URL = r'https?://(?:[\w-]+\.)?facebook\.com/ads/library/?\?(?:[^#]+&)?id=(?P<id>\d+)'
|
||||
IE_NAME = 'facebook:ads'
|
||||
|
||||
_TESTS = [{
|
||||
|
@ -923,6 +923,12 @@ class FacebookAdsIE(InfoExtractor):
|
|||
'like_count': int,
|
||||
},
|
||||
'playlist_count': 3,
|
||||
}, {
|
||||
'url': 'https://es-la.facebook.com/ads/library/?id=901230958115569',
|
||||
'only_matching': True,
|
||||
}, {
|
||||
'url': 'https://m.facebook.com/ads/library/?id=901230958115569',
|
||||
'only_matching': True,
|
||||
}]
|
||||
|
||||
_FORMATS_MAP = {
|
||||
|
|
Loading…
Reference in New Issue
Block a user