From 38b49960628fd57fff6184e3a166a13c3b468c49 Mon Sep 17 00:00:00 2001 From: comwrg Date: Sat, 17 Nov 2018 11:48:35 +0800 Subject: [PATCH] update vkey from site `moresound` --- for_lossless_music/__init__.py | 2 +- for_lossless_music/qqmusic.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/for_lossless_music/__init__.py b/for_lossless_music/__init__.py index 734a3da..46e12e9 100644 --- a/for_lossless_music/__init__.py +++ b/for_lossless_music/__init__.py @@ -6,7 +6,7 @@ from .song import Song from .quality import * -__version__ = '0.1.0' +__version__ = '0.1.1' def search(keyword, source: Source, page=1, num=20): diff --git a/for_lossless_music/qqmusic.py b/for_lossless_music/qqmusic.py index c41217b..7e39991 100644 --- a/for_lossless_music/qqmusic.py +++ b/for_lossless_music/qqmusic.py @@ -85,7 +85,7 @@ def get_download_urls(song): for t in song.tags: if t in size: ret[t] = ('http://streamoc.music.tc.qq.com/{token}.{suffix}?' - 'vkey=FE178EBB4D55DCF868B4759ADD7A8ACBEFAF88B6558162E8E8DA5A01DFCFB93CEDE02918C068E105E3A3E99267DFF1DCB94B4E8745ABFDD2&guid=MS&uin=123456&fromtag=8' + 'vkey=7CE8513AF0A7C4C4C7020842487CCDB8E19CEF7CF82724BD826116EF539E31237D441DCE78E3088CD41DF24B87E23357B21D1D9CBC2472B5&guid=MS&uin=123456&fromtag=8' .format(token=size[t] + song.token, suffix=get_suffix_by_quality(t))) return ret