Spaces:
Sleeping
Sleeping
Update server.js
Browse files
server.js
CHANGED
@@ -191,6 +191,7 @@ async function getAudioMP3Url(videoUrl) {
|
|
191 |
title: info.videoDetails.title,
|
192 |
result: {
|
193 |
url_path: `https://${process.env.SPACE_HOST}/temp/${path.basename(convert.path)}`,
|
|
|
194 |
path: convert.path
|
195 |
}
|
196 |
};
|
|
|
191 |
title: info.videoDetails.title,
|
192 |
result: {
|
193 |
url_path: `https://${process.env.SPACE_HOST}/temp/${path.basename(convert.path)}`,
|
194 |
+
curl_path: `https://${process.env.SPACE_HOST}/temp/${path.basename(convert.path)}?download=1&filename=${info.videoDetails.title}`,
|
195 |
path: convert.path
|
196 |
}
|
197 |
};
|