mirror of
https://github.com/JefferyHcool/BiliNote.git
synced 2026-05-06 20:42:52 +08:00
fix(bilibili_downloader): 修改音频下载格式为 mp4
- 将 BilibiliDownloader 类中的音频下载格式从 m4a改为 mp4 - 此修改解决了因 m4a 格式导致的文件名错误问题
This commit is contained in:
@@ -69,7 +69,7 @@ class BilibiliDownloader(Downloader, ABC):
|
||||
output_path = os.path.join(output_dir, "%(id)s.%(ext)s")
|
||||
|
||||
ydl_opts = {
|
||||
'format': 'bestaudio[ext=m4a]/bestaudio/best',
|
||||
'format': 'bestaudio[ext=mp4]/bestaudio/best',
|
||||
'outtmpl': output_path,
|
||||
'noplaylist': True,
|
||||
'quiet': False,
|
||||
|
||||
Reference in New Issue
Block a user