1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-11-23 11:36:56 +01:00

Updated Album URL regex

Mistakenly forgot to edit a line in last commit.

Co-authored-by: dirkf <fieldhouse@gmx.net>
This commit is contained in:
Abdullah Ibn Fulan 2021-08-17 19:56:39 +00:00 committed by dirkf
parent c820a284a2
commit 16a3fe2ba6

View 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