mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 10:07:08 -05:00 
			
		
		
		
	[yandexmusic:album] Improve _VALID_URL to avoid matching tracks urls
This commit is contained in:
		@@ -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',
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user