Skip to content

Commit

Permalink
🎨音频配置部分修改
Browse files Browse the repository at this point in the history
  • Loading branch information
Johnserf-Seed committed Jul 19, 2021
1 parent f1c7c03 commit a32e9d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TikTokMulti.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ def videos_download(self,author_list,video_list,aweme_id,nickname,dynamic_cover,
if music.status_code == 200: #判断是否响应成功
print('[ 音频 ]'+author_list[i]+'[文件 大小]:{size:.2f} MB'.format(size = content_size / chunk_size /1024)) #开始下载,显示下载文件大小
m_url = self.save + self.mode + "\\" + nickname[i] + '\\' + re.sub(r'[\\/:*?"<>|\r\n]+', "_", music_title) + '_' + author_list[i] + '.mp3'
with open(v_url,'wb') as file: #显示进度条
with open(m_url,'wb') as file: #显示进度条
for data in music.iter_content(chunk_size = chunk_size):
file.write(data)
size +=len(data)
Expand Down

0 comments on commit a32e9d4

Please sign in to comment.