soxogvv commited on
Commit
a3fcf56
·
verified ·
1 Parent(s): 6cd9ae8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -143,8 +143,10 @@ def download_with_wget(task_id, url, save_path):
143
  "--waitretry=3",
144
  "--limit-rate=0",
145
  "--progress=dot:mega",
146
- "-O", str(save_path),
147
- url,
 
 
148
  ]
149
 
150
  try:
 
143
  "--waitretry=3",
144
  "--limit-rate=0",
145
  "--progress=dot:mega",
146
+ "-c",
147
+ "--content-disposition",
148
+ "--trust-server-names",
149
+ url
150
  ]
151
 
152
  try: