Fix downloading audio only
This commit is contained in:
parent
46bbdd030e
commit
f32f0e7d1e
2
main.py
2
main.py
|
@ -15,7 +15,7 @@ download_dir = 'downloads'
|
||||||
os.makedirs(download_dir, exist_ok=True)
|
os.makedirs(download_dir, exist_ok=True)
|
||||||
|
|
||||||
ydl_opts = {
|
ydl_opts = {
|
||||||
'format': 'bestaudio/best',
|
'format': 'best',
|
||||||
'outtmpl': f'{download_dir}/%(title)s [%(id)s].%(ext)s',
|
'outtmpl': f'{download_dir}/%(title)s [%(id)s].%(ext)s',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue