mirror of
https://codeberg.org/polarisfm/youtube-dl.git
synced 2024-12-25 01:01:39 +00:00
[yandexmusic:album] Improve _VALID_URL to avoid matching tracks urls
This commit is contained in:
parent
937daef4a7
commit
f5d8f58a17
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ class YandexMusicTrackIE(YandexMusicBaseIE):
|
|||
class YandexMusicAlbumIE(YandexMusicBaseIE):
|
||||
IE_NAME = 'yandexmusic:album'
|
||||
IE_DESC = 'Яндекс.Музыка - Альбом'
|
||||
_VALID_URL = r'https?://music\.yandex\.ru/album/(?P<id>\d+)'
|
||||
_VALID_URL = r'https?://music\.yandex\.ru/album/(?P<id>\d+)/?(\?|$)'
|
||||
|
||||
_TEST = {
|
||||
'url': 'http://music.yandex.ru/album/540508',
|
||||
|
|
Loading…
Reference in a new issue