diff --git a/src/lib/Video.ts b/src/lib/Video.ts index df221b9..f9b7abd 100644 --- a/src/lib/Video.ts +++ b/src/lib/Video.ts @@ -108,7 +108,7 @@ export class Video extends Attachment { const writeStream = createWriteStream(this.partialPath); // Throttle if enabled - if (Video.ThrottleGroup) downloadRequest.pipe(Video.ThrottleGroup.throttle(Video.ThrottleOptions).pipe(writeStream)); + if (Video.ThrottleGroup) downloadRequest.pipe(Video.ThrottleGroup.throttle(undefined).pipe(writeStream)); else downloadRequest.pipe(writeStream); let downloadedBytes = 0;