Updated Album URL regex
authorAbdullah Ibn Fulan <54185653+abdullah-if@users.noreply.github.com>
Tue, 17 Aug 2021 19:56:39 +0000 (19:56 +0000)
committerdirkf <fieldhouse@gmx.net>
Sat, 5 Feb 2022 02:53:23 +0000 (02:53 +0000)
Mistakenly forgot to edit a line in last commit.

Co-authored-by: dirkf <fieldhouse@gmx.net>
youtube_dl/extractor/audiomack.py

index 638eb4041401632b0e10b04ce1d0f85baacfd964..4d1fbad1f3c4bf2c38a42e12b66f127e07486b94 100644 (file)
@@ -75,7 +75,7 @@ class AudiomackIE(InfoExtractor):
 
 
 class AudiomackAlbumIE(InfoExtractor):
-    _VALID_URL = r'https?://(?:www\.)?audiomack\.com/album/(?P<id>[\w/-]+)'
+    _VALID_URL = r'https?://(?:www\.)?audiomack\.com/(?:album/|(?=.+/album/))(?P<id>[\w/-]+)'
     IE_NAME = 'audiomack:album'
     _TESTS = [
         # Standard album playlist