Update app.py
Browse files
app.py
CHANGED
|
@@ -292,7 +292,12 @@ async def download_audio(request: Request):
|
|
| 292 |
'quiet': True,
|
| 293 |
'no_warnings': True,
|
| 294 |
'noprogress': True,
|
| 295 |
-
'cookiefile': cookiefile
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 296 |
|
| 297 |
}
|
| 298 |
|
|
|
|
| 292 |
'quiet': True,
|
| 293 |
'no_warnings': True,
|
| 294 |
'noprogress': True,
|
| 295 |
+
'cookiefile': cookiefile,
|
| 296 |
+
'postprocessors': [{
|
| 297 |
+
'key': 'FFmpegExtractAudio',
|
| 298 |
+
'preferredcodec': 'mp3',
|
| 299 |
+
'preferredquality': '192'
|
| 300 |
+
}]
|
| 301 |
|
| 302 |
}
|
| 303 |
|