Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -154,7 +154,7 @@ def download_from_youtube(
|
|
| 154 |
command = [
|
| 155 |
"yt-dlp",
|
| 156 |
"-o", "'{}%(id)s.%(ext)s'".format(save_dir),
|
| 157 |
-
"--cookies ./
|
| 158 |
"--verbose",
|
| 159 |
"--force-overwrites",
|
| 160 |
f"https://www.youtube.com/watch?v={video_id}",
|
|
|
|
| 154 |
command = [
|
| 155 |
"yt-dlp",
|
| 156 |
"-o", "'{}%(id)s.%(ext)s'".format(save_dir),
|
| 157 |
+
"--cookies ./youtube_cookies.txt",
|
| 158 |
"--verbose",
|
| 159 |
"--force-overwrites",
|
| 160 |
f"https://www.youtube.com/watch?v={video_id}",
|