diff --git a/yt_dlp/extractor/spreaker.py b/yt_dlp/extractor/spreaker.py index 3e2084a166..dffb9e0f9e 100644 --- a/yt_dlp/extractor/spreaker.py +++ b/yt_dlp/extractor/spreaker.py @@ -159,7 +159,7 @@ def _real_extract(self, url): class SpreakerShowPageIE(InfoExtractor): - _VALID_URL = r'https?://(?:www\.)?spreaker\.com/show/(?P[^/?#&]+)(?!/episodes/feed)' + _VALID_URL = r'https?://(?:www\.)?spreaker\.com/show/(?P[^/?#&]+)(?:[?#]|$)(?!/episodes/feed)' _TESTS = [{ 'url': 'https://www.spreaker.com/show/success-with-music', 'info_dict': { @@ -195,7 +195,7 @@ def _real_extract(self, url): class SpreakerFeedPageIE(InfoExtractor): - _VALID_URL = r'https?://(?:www\.)?spreaker\.com/show/(?P[\d]+)/episodes/feed' + _VALID_URL = r'https?://(?:www\.)?spreaker\.com/show/(?P\d+)/episodes/feed' _TESTS = [{ 'url': 'https://www.spreaker.com/show/5887186/episodes/feed', 'info_dict': {