Skip to content
This repository has been archived by the owner on Dec 3, 2023. It is now read-only.

Commit

Permalink
Update downloader.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats authored Dec 12, 2019
1 parent 7751e65 commit 952826a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/downloader.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ const isWin = flags.includes('--platform=windows') || require('./util').isWin
let dir, filePath
const defaultBin = path.join(__dirname, '..', 'bin')
const defaultPath = path.join(defaultBin, 'details')
const url = process.env.YOUTUBE_DL_DOWNLOAD_HOST
|| process.env.youtube_dl_download_host
|| 'https://yt-dl.org/downloads/latest/youtube-dl'
const url = process.env.YOUTUBE_DL_DOWNLOAD_HOST || 'https://yt-dl.org/downloads/latest/youtube-dl'

function download (url, callback) {
let status
Expand Down

0 comments on commit 952826a

Please sign in to comment.