mirror of
https://github.com/soimort/you-get.git
synced 2025-01-23 21:45:02 +03:00
Xiami: fix default MIME type (audio/mpeg)
This commit is contained in:
parent
fc3d932244
commit
2159e9f11c
@ -52,8 +52,8 @@ def xiami_download_song(sid, output_dir = '.', merge = True, info_only = False):
|
||||
url = location_dec(i.getElementsByTagName("location")[0].firstChild.nodeValue)
|
||||
lrc_url = i.getElementsByTagName("lyric")[0].firstChild.nodeValue
|
||||
type, ext, size = url_info(url, faker = True)
|
||||
if not ext:
|
||||
ext = 'mp3'
|
||||
if not type:
|
||||
type = 'mp3'
|
||||
|
||||
print_info(site_info, song_title, type, size)
|
||||
if not info_only:
|
||||
|
Loading…
Reference in New Issue
Block a user