We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f19914 commit ea565b8Copy full SHA for ea565b8
backend/app/downloaders/bilibili_downloader.py
@@ -31,13 +31,6 @@ def download(
31
ydl_opts = {
32
'format': 'bestaudio[ext=m4a]/bestaudio/best',
33
'outtmpl': output_path,
34
- 'postprocessors': [
35
- {
36
- 'key': 'FFmpegExtractAudio',
37
- 'preferredcodec': 'mp3',
38
- 'preferredquality': '64',
39
- }
40
- ],
41
'noplaylist': True,
42
'quiet': False,
43
}
@@ -48,7 +41,7 @@ def download(
48
title = info.get("title")
49
duration = info.get("duration", 0)
50
cover_url = info.get("thumbnail")
51
- audio_path = os.path.join(output_dir, f"{video_id}.mp3")
44
+ audio_path = os.path.join(output_dir, f"{video_id}.m4a")
52
45
53
46
return AudioDownloadResult(
54
47
file_path=audio_path,
0 commit comments