0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-23 02:25:11 +00:00

[neteasemusic] Fixes #7301

This commit is contained in:
ping 2015-11-16 11:39:18 +08:00
parent bd1512d196
commit 76adc82068

View file

@ -40,7 +40,7 @@ def extract_formats(cls, info):
if not details: if not details:
continue continue
formats.append({ formats.append({
'url': 'http://m1.music.126.net/%s/%s.%s' % 'url': 'http://m5.music.126.net/%s/%s.%s' %
(cls._encrypt(details['dfsId']), details['dfsId'], (cls._encrypt(details['dfsId']), details['dfsId'],
details['extension']), details['extension']),
'ext': details.get('extension'), 'ext': details.get('extension'),