diff --git a/src/destreamer.ts b/src/destreamer.ts index 208ef4b..db6d06a 100644 --- a/src/destreamer.ts +++ b/src/destreamer.ts @@ -1,6 +1,6 @@ import { ApiClient } from './ApiClient'; import { argv, promptUser } from './CommandLineParser'; -import { getDecrypter } from './Descrypter'; +import { getDecrypter } from './Decrypter'; import { DownloadManager } from './DownloadManager'; import { ERROR_CODE } from './Errors'; import { setProcessEvents } from './Events'; @@ -10,7 +10,7 @@ import { getPuppeteerChromiumPath } from './PuppeteerHelper'; import { TokenCache/* , refreshSession */} from './TokenCache'; import { Video, Session } from './Types'; import { checkRequirements, /* ffmpegTimemarkToChunk, */parseInputFile, parseCLIinput, getUrlsFromPlaylist} from './Utils'; -import { getVideoInfo, createUniquePath } from './VideoUtils'; +import { getVideosInfo, createUniquePaths } from './VideoUtils'; import { exec, execSync } from 'child_process'; import fs from 'fs'; @@ -131,9 +131,9 @@ async function downloadVideo(videoGUIDs: Array, logger.info('Downloading video info, this might take a while...'); - const videos: Array