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