diff --git a/yt_dlp/extractor/generic.py b/yt_dlp/extractor/generic.py index 0b5787464..dce65f02a 100644 --- a/yt_dlp/extractor/generic.py +++ b/yt_dlp/extractor/generic.py @@ -1364,32 +1364,6 @@ class GenericIE(InfoExtractor): 'title': 'Official Trailer | TROLLS: THE BEAT GOES ON!', }, 'skip': 'Invalid URL', - }, { - # ✅101 - # SubstackIE - 'url': 'https://www.mollymovieclub.com/p/interstellar', - 'info_dict': { - 'id': '53602801', - 'ext': 'mpga', - 'title': 'Interstellar', - 'description': 'md5:6f6a458df735853f40fb3892156e4144', - 'thumbnail': r're:https?://.+\.jpeg', - 'uploader': 'Molly Movie Club', - 'uploader_id': '839621', - }, - }, { - # ✅102 - # SubstackIE - 'url': 'https://www.blockedandreported.org/p/episode-117-lets-talk-about-depp', - 'info_dict': { - 'id': '57962052', - 'ext': 'mpga', - 'title': 'md5:855b2756f0ee10f6723fa00b16266f8d', - 'description': 'md5:fe512a5e94136ad260c80bde00ea4eef', - 'thumbnail': r're:https?://.+\.jpeg', - 'uploader': 'Blocked and Reported', - 'uploader_id': '500230', - }, }, { # ✅124 # YoutubeIE diff --git a/yt_dlp/extractor/substack.py b/yt_dlp/extractor/substack.py index b70d40f2c..a571bb788 100644 --- a/yt_dlp/extractor/substack.py +++ b/yt_dlp/extractor/substack.py @@ -63,6 +63,29 @@ class SubstackIE(InfoExtractor): 'uploader_id': '61579', }, }] + _WEBPAGE_TESTS = [{ + 'url': 'https://www.mollymovieclub.com/p/interstellar', + 'info_dict': { + 'id': '53602801', + 'ext': 'mpga', + 'title': 'Interstellar', + 'description': 'md5:6f6a458df735853f40fb3892156e4144', + 'thumbnail': r're:https?://.+\.jpeg', + 'uploader': 'Molly Movie Club', + 'uploader_id': '839621', + }, + }, { + 'url': 'https://www.blockedandreported.org/p/episode-117-lets-talk-about-depp', + 'info_dict': { + 'id': '57962052', + 'ext': 'mpga', + 'title': 'md5:855b2756f0ee10f6723fa00b16266f8d', + 'description': 'md5:fe512a5e94136ad260c80bde00ea4eef', + 'thumbnail': r're:https?://.+\.jpeg', + 'uploader': 'Blocked and Reported', + 'uploader_id': '500230', + }, + }] @classmethod def _extract_embed_urls(cls, url, webpage):