From d11e937c6ab548e9c4b1efbb9b5fc2354be2402d Mon Sep 17 00:00:00 2001 From: symphoniacus Date: Sat, 14 Feb 2026 19:24:56 +0100 Subject: [PATCH] fix: allow Apple Music Classical URLs (classical.music.apple.com) --- gamdl/downloader/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamdl/downloader/constants.py b/gamdl/downloader/constants.py index 9e366e5..84d2328 100644 --- a/gamdl/downloader/constants.py +++ b/gamdl/downloader/constants.py @@ -13,7 +13,7 @@ UPLOADED_VIDEO_MEDIA_TYPE = {"post", "uploaded-videos"} PLAYLIST_MEDIA_TYPE = {"playlist", "playlists", "library-playlists"} VALID_URL_PATTERN = re.compile( - r"https://music\.apple\.com" + r"https://(?:classical\.)?music\.apple\.com" r"(?:" r"/(?P[a-z]{2})" r"/(?Partist|album|playlist|song|music-video|post)"