From b830a73e047e8a1676bdbd30fe7e36e455f75d79 Mon Sep 17 00:00:00 2001 From: AnimeDL Date: Tue, 19 Mar 2024 07:35:12 -0700 Subject: [PATCH] [CR] Fix logic for separate video/audio downloading --- crunchy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crunchy.ts b/crunchy.ts index 37e97ad..509a4ff 100644 --- a/crunchy.ts +++ b/crunchy.ts @@ -1503,7 +1503,7 @@ export default class Crunchy implements ServiceClass { let tsFile = undefined; - if(!dlFailed && curStream !== undefined && !(!options.novids && !options.noaudio)){ + if(!dlFailed && curStream !== undefined && !(options.novids && options.noaudio)){ const streamPlaylistsReq = await this.req.getData(curStream.url); if(!streamPlaylistsReq.ok || !streamPlaylistsReq.res){ console.error('CAN\'T FETCH VIDEO PLAYLISTS!');