This commit is contained in:
holwell 2025-02-14 17:24:47 +08:00
parent f33bf31420
commit aa11a82259
2 changed files with 2 additions and 3 deletions

3
.gitignore vendored
View File

@ -1,6 +1,5 @@
__pycache__/
.history/
neteasecloudmusicapi/
cookies.txt
failed_ids.txt
*.txt
*.json

View File

@ -176,7 +176,7 @@ def get_resume_song_info_list(song_info_list) -> list:
last_failed_id = get_last_failed_id()
if last_failed_id is None:
print("暂无上传失败记录,从头开始上传")
return
return song_info_list
for index, song_info in enumerate(song_info_list):
if int(song_info['id']) == last_failed_id:
print(f"当前已上传: {index + 1},最后上传失败的 id: {song_info['id']}")