Compare commits

..

No commits in common. "9ed1d0ffee4d0821278fc4f6e7cb1f51094cd35d" and "e135a1f50a272857d332c67833f29ac6b48b1499" have entirely different histories.

View File

@ -893,7 +893,7 @@ class FacebookReelIE(InfoExtractor):
class FacebookAdsIE(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' IE_NAME = 'facebook:ads'
_TESTS = [{ _TESTS = [{
@ -923,12 +923,6 @@ class FacebookAdsIE(InfoExtractor):
'like_count': int, 'like_count': int,
}, },
'playlist_count': 3, '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 = { _FORMATS_MAP = {