Spaces:
Sleeping
Sleeping
dd
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ def get_video(url):
|
|
16 |
# 下载视频
|
17 |
url = url
|
18 |
output_dir = '.'
|
19 |
-
command = f'you-get
|
20 |
print(command)
|
21 |
subprocess.call(command, shell=True)
|
22 |
|
|
|
16 |
# 下载视频
|
17 |
url = url
|
18 |
output_dir = '.'
|
19 |
+
command = f'you-get -o {output_dir} {url}'
|
20 |
print(command)
|
21 |
subprocess.call(command, shell=True)
|
22 |
|