aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--youtube_dl/extractor/yandexmusic.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/yandexmusic.py b/youtube_dl/extractor/yandexmusic.py
index 1d968454a..b64632836 100644
--- a/youtube_dl/extractor/yandexmusic.py
+++ b/youtube_dl/extractor/yandexmusic.py
@@ -15,7 +15,7 @@ from ..utils import (
class YandexMusicBaseIE(InfoExtractor):
- _VALID_URL_BASE = r'https?://music\.yandex\.(?P<tld>ru|kz|ua|by)'
+ _VALID_URL_BASE = r'https?://music\.yandex\.(?P<tld>ru|kz|ua|by|com)'
@staticmethod
def _handle_error(response):
@@ -102,6 +102,9 @@ class YandexMusicTrackIE(YandexMusicBaseIE):
'track_number': 9,
},
# 'skip': 'Travis CI servers blocked by YandexMusic',
+ }, {
+ 'url': 'http://music.yandex.com/album/540508/track/4878838',
+ 'only_matching': True,
}]
def _real_extract(self, url):