Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -109,7 +109,7 @@ def dl(inp):
|
|
109 |
try:
|
110 |
inp_out=inp.replace("https://","")
|
111 |
inp_out=inp_out.replace("/","_").replace(".","_")
|
112 |
-
os.system(f'yt-dlp "{inp}" --trim-filenames 100 -o "{inp_out}.mp4"')
|
113 |
out = f"{uid}/{inp_out}.mp4"
|
114 |
except Exception as e:
|
115 |
print (e)
|
|
|
109 |
try:
|
110 |
inp_out=inp.replace("https://","")
|
111 |
inp_out=inp_out.replace("/","_").replace(".","_")
|
112 |
+
os.system(f'yt-dlp "{inp}" --trim-filenames 100 -o "{uid}/{inp_out}.mp4"')
|
113 |
out = f"{uid}/{inp_out}.mp4"
|
114 |
except Exception as e:
|
115 |
print (e)
|