Merge pull request #7514 from ping/patch-7301

[neteasemusic] Fixes #7301
This commit is contained in:
Sergey M 2015-11-16 14:25:29 +00:00
commit 0c176d7bde

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'),