From e3750e3cf2a5fea3bc8f78acb470e08526b73b5f Mon Sep 17 00:00:00 2001 From: Florent Delahaye Date: Sun, 27 Jul 2025 16:29:19 +0200 Subject: [PATCH] fix(extractor/applepodcasts): edit base regex + forbid arguments to playlist url regex --- yt_dlp/extractor/applepodcasts.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yt_dlp/extractor/applepodcasts.py b/yt_dlp/extractor/applepodcasts.py index 736601688a..fb51dbc4b1 100644 --- a/yt_dlp/extractor/applepodcasts.py +++ b/yt_dlp/extractor/applepodcasts.py @@ -12,7 +12,7 @@ from ..utils.traversal import traverse_obj class ApplePodcastsBaseIE(InfoExtractor): - _BASE_URL_REGEX = r'https?://podcasts\.apple\.com/(?:[^/]+/)?podcast(?:/[^/]+){1,2}' + _BASE_URL_REGEX = r'https?://podcasts\.apple\.com/(?:[^/]+/)?podcast(?:/[^/]+)?' _BASE_HTML_JSON_LOCATION = r'