From f5d8f58a170c9585e0913dbe1e50e0ed05afb698 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jaime=20Marqui=CC=81nez=20Ferra=CC=81ndiz?= Date: Mon, 9 Mar 2015 18:17:22 +0100 Subject: [PATCH] [yandexmusic:album] Improve _VALID_URL to avoid matching tracks urls --- youtube_dl/extractor/yandexmusic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/yandexmusic.py b/youtube_dl/extractor/yandexmusic.py index 1ee8d1bc0..b47aecb15 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\d+)' + _VALID_URL = r'https?://music\.yandex\.ru/album/(?P\d+)/?(\?|$)' _TEST = { 'url': 'http://music.yandex.ru/album/540508', -- 2.22.2