From ede4e0b78a6b92fce947fb87b1cfc3932277cdec Mon Sep 17 00:00:00 2001 From: subsense Date: Wed, 1 Jan 2025 22:46:55 +0900 Subject: [PATCH] fix valid url --- yt_dlp/extractor/eggs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yt_dlp/extractor/eggs.py b/yt_dlp/extractor/eggs.py index 368374bb7e..df5dedc531 100644 --- a/yt_dlp/extractor/eggs.py +++ b/yt_dlp/extractor/eggs.py @@ -130,7 +130,7 @@ class EggsBaseIE(InfoExtractor): class EggsIE(EggsBaseIE): IE_NAME = 'eggs:single' _VALID_URL = ( - r'https?://(?:www\.)?eggs\.mu/artist/(?P[^/]+)/song/(?P[^/?#&]+)' + r'https?://(?:www\.)?eggs\.mu/artist/(?P[^/]+)/song/(?P[^/]+)' ) _TESTS = [{ 'url': 'https://eggs.mu/artist/32_sunny_girl/song/0e95fd1d-4d61-4d5b-8b18-6092c551da90', @@ -154,7 +154,7 @@ class EggsIE(EggsBaseIE): class EggsArtistIE(EggsBaseIE): IE_NAME = 'eggs:artist' _VALID_URL = ( - r'https?://(?:www\.)?eggs\.mu/artist/(?P[^/?#]+)(?:[/?#].*)?$' + r'https?://(?:www\.)?eggs\.mu/artist/(?P[^/]+)' ) _TESTS = [{ 'url': 'https://eggs.mu/artist/32_sunny_girl',