A feature-rich command-line audio/video downloader
[yandexmusic:album] Improve _VALID_URL to avoid matching tracks urls
Jaime Marquínez Ferrándizf5d8f58a170c
diff --git a/youtube_dl/extractor/yandexmusic.py b/youtube_dl/extractor/yandexmusic.pyindex 1ee8d1bc0f..b47aecb15a 100644--- a/youtube_dl/extractor/yandexmusic.py+++ b/youtube_dl/extractor/yandexmusic.py@@ -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',