mirror of
https://github.com/soimort/you-get.git
synced 2025-01-23 21:45:02 +03:00
fix small bug
This commit is contained in:
parent
ca5151ee58
commit
1d5cb7fae5
@ -13,8 +13,8 @@ def kugou_download(url, output_dir=".", merge=True, info_only=False):
|
||||
html=get_html(url)
|
||||
ticket=r1(r'"ticket":\s*"(.*)"',html)
|
||||
j=loads(str(b64decode(ticket),encoding="utf-8"))
|
||||
url=j[u'file']
|
||||
title=j[u'songName']
|
||||
url=j['file']
|
||||
title=j['songName']
|
||||
songtype, ext, size = url_info(url)
|
||||
print_info(site_info, title, songtype, size)
|
||||
if not info_only:
|
||||
|
Loading…
Reference in New Issue
Block a user