Anupam251272
commited on
Create ydl_opts
Browse files
ydl_opts
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
ydl_opts = {
|
2 |
+
'format': 'bestaudio/best',
|
3 |
+
'outtmpl': output_template,
|
4 |
+
'postprocessors': [{
|
5 |
+
'key': 'FFmpegExtractAudio',
|
6 |
+
'preferredcodec': 'wav',
|
7 |
+
'preferredquality': '192',
|
8 |
+
}],
|
9 |
+
'cookiefile': 'cookies.txt' # Add this line to use cookies
|
10 |
+
}
|