mirror of
https://github.com/soimort/you-get.git
synced 2025-01-24 05:55:02 +03:00
Merge branch 'develop' of https://github.com/pini-gh/you-get into pini-gh-develop
This commit is contained in:
commit
ddc1623c83
@ -48,7 +48,7 @@ def netease_cloud_music_download(url, output_dir='.', merge=True, info_only=Fals
|
||||
def netease_song_download(song, output_dir='.', info_only=False):
|
||||
title = "%s. %s" % (song['position'], song['name'])
|
||||
|
||||
if 'hMusic' in song:
|
||||
if 'hMusic' in song and song['hMusic'] != None:
|
||||
url_best = make_url(song['hMusic']['dfsId'])
|
||||
elif 'mp3Url' in song:
|
||||
url_best = song['mp3Url']
|
||||
|
Loading…
Reference in New Issue
Block a user