From 8ba17d1fc1f6f89c8b5e13e9dfc311592387dd7b Mon Sep 17 00:00:00 2001 From: ANYLNK <86554631+ANYLNK@users.noreply.github.com> Date: Tue, 27 Jul 2021 00:03:33 +0800 Subject: [PATCH] Marked netease.py Marked the bug, but not fixed --- src/you_get/extractors/netease.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/you_get/extractors/netease.py b/src/you_get/extractors/netease.py index ca1be887..d2c404ab 100644 --- a/src/you_get/extractors/netease.py +++ b/src/you_get/extractors/netease.py @@ -68,7 +68,7 @@ def netease_cloud_music_download(url, output_dir='.', merge=True, info_only=Fals elif "song" in url: j = loads(get_content("http://music.163.com/api/song/detail/?id=%s&ids=[%s]&csrf_token=" % (rid, rid), headers={"Referer": "http://music.163.com/"})) netease_song_download(j["songs"][0], output_dir=output_dir, info_only=info_only) - try: # download lyrics + try: # The api of song download were lapsed because of the update of 163, we can't get the mp3 url, need a new api. assert kwargs['caption'] l = loads(get_content("http://music.163.com/api/song/lyric/?id=%s&lv=-1&csrf_token=" % rid, headers={"Referer": "http://music.163.com/"})) netease_lyric_download(j["songs"][0], l["lrc"]["lyric"], output_dir=output_dir, info_only=info_only)