diff options
-rw-r--r-- | src/downloaders.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/downloaders.js b/src/downloaders.js index c0e54eb..0e2b1bb 100644 --- a/src/downloaders.js +++ b/src/downloaders.js @@ -107,18 +107,6 @@ module.exports = { makeLocalDownloader, makePowerfulDownloader, - getDownloaderFor: downloaderType => { - if (downloaderType === 'http') { - return makeHTTPDownloader() - } else if (downloaderType === 'youtube') { - return makeYouTubeDownloader() - } else if (downloaderType === 'local') { - return makeLocalDownloader() - } else { - return null - } - }, - getDownloaderFor(arg) { if (arg.startsWith('http://') || arg.startsWith('https://')) { if (arg.includes('youtube.com')) { |