[CR] Fix logic for separate video/audio downloading

This commit is contained in:
AnimeDL 2024-03-19 07:35:12 -07:00
parent 0c7c047a7b
commit b830a73e04

View file

@ -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!');