diff options
| author | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2015-03-09 18:17:22 +0100 | 
|---|---|---|
| committer | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2015-03-09 18:17:22 +0100 | 
| commit | f5d8f58a170c9585e0913dbe1e50e0ed05afb698 (patch) | |
| tree | 6d7d8e560ced9e08f90c620ea9f569363a187921 | |
| parent | 937daef4a7725aeecc4b2ce0caa29c6f1aaf0b87 (diff) | |
[yandexmusic:album] Improve _VALID_URL to avoid matching tracks urls
| -rw-r--r-- | youtube_dl/extractor/yandexmusic.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| 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<id>\d+)' +    _VALID_URL = r'https?://music\.yandex\.ru/album/(?P<id>\d+)/?(\?|$)'      _TEST = {          'url': 'http://music.yandex.ru/album/540508', | 
