From cf0d42ac69a1f6cf453301097ae6d7edd8337c46 Mon Sep 17 00:00:00 2001 From: Xtao_dada Date: Mon, 6 Dec 2021 15:19:26 +0800 Subject: [PATCH] =?UTF-8?q?neteasedown=20=E4=BF=AE=E5=A4=8D=E5=8A=A0?= =?UTF-8?q?=E8=BD=BD=E5=A4=B1=E8=B4=A5=20(#203)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- list.json | 2 +- neteasedown.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/list.json b/list.json index aa50205..707a918 100644 --- a/list.json +++ b/list.json @@ -292,7 +292,7 @@ }, { "name": "neteasedown", - "version": "1.221", + "version": "1.222", "section": "daily", "maintainer": "xtaodada", "size": "11.4 kb", diff --git a/neteasedown.py b/neteasedown.py index a658182..a796e92 100644 --- a/neteasedown.py +++ b/neteasedown.py @@ -52,7 +52,7 @@ def get_duration(song_info: dict, track_info: dict) -> int: return int(song_info["songs"][0]["dt"] / 1000) -def tag_audio(track: TrackHelper, file: str, cover_img: str = ''): +def tag_audio(track, file: str, cover_img: str = ''): def write_keys(song): # Write trackdatas song['title'] = track.TrackName @@ -99,7 +99,7 @@ def tag_audio(track: TrackHelper, file: str, cover_img: str = ''): return False -async def netease_down(track_info: dict, song_info: dict, song: TrackHelper) -> str: +async def netease_down(track_info: dict, song_info: dict, song) -> str: if not isfile(f'data{sep}{song_info["songs"][0]["name"]}.{track_info["data"][0]["type"]}'): # Downloding source audio download_by_url(track_info["data"][0]["url"],