diff options
author | liam4 <towerofnix@gmail.com> | 2017-07-21 21:51:15 -0300 |
---|---|---|
committer | liam4 <towerofnix@gmail.com> | 2017-07-21 21:51:15 -0300 |
commit | e53f4f7f33b8ac8da8defa0dcb694faededd5021 (patch) | |
tree | 797b7c826613d5f96c2e5ffd1c496fb547c4072a /src | |
parent | f7f530a2c4acea0bd9e29aa67fc84dcbeffaeb7b (diff) |
Remove old, obsolete/void function
Diffstat (limited to 'src')
-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')) { |