Skip to content

Commit 9a97436

Browse files
committed
Allow up to 3 retries in downloader
1 parent f7935c0 commit 9a97436

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugins/downloader/youtube-dl.js

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ const downloadVideoToMP3 = (videoUrl, sendFeedback, sendError, reinit) => {
2929
filter: "audioonly",
3030
quality: "highestaudio",
3131
highWaterMark: 32 * 1024 * 1024, // 32 MB
32+
requestOptions: { maxRetries: 3 },
3233
});
3334
} catch (err) {
3435
sendError(err);

0 commit comments

Comments
 (0)