yt-converter
Advanced tools
Comparing version 1.3.4 to 1.3.5
@@ -0,0 +0,0 @@ { |
{ | ||
"name": "yt-converter", | ||
"version": "1.3.4", | ||
"version": "1.3.5", | ||
"description": "A youtube video converter for mp3 and mp4 using node-ytdl and ffmpeg", | ||
@@ -5,0 +5,0 @@ "main": "./src/index.js", |
@@ -0,0 +0,0 @@ # Node YoutubeDL - Easy to use downloader for YouTube videos |
@@ -0,0 +0,0 @@ const convertAudio = require("./utils/convertAudio") |
@@ -14,3 +14,3 @@ /* eslint-disable no-unused-vars */ | ||
const title = await getTitle | ||
const ingfo = await getIngfo | ||
const info = await getIngfo | ||
const thumb = await getThumb | ||
@@ -28,3 +28,3 @@ const thumbnails = thumb.split("?") | ||
}, () => { | ||
console.log(ingfo) | ||
console.log(info) | ||
}) | ||
@@ -31,0 +31,0 @@ } |
@@ -60,3 +60,3 @@ const ytdl = require("ytdl-core"); | ||
const format = info.formatsAudio.find((fm) => fm.audioBitrate === 160 || (itag ? fm.itag === itag : fm.quality === "tiny")) | ||
const title = parserTitles(info.title) | ||
const title = parserTitles(options?.title) || parserTitles(info.title) | ||
const stream = ytdl(url, { | ||
@@ -63,0 +63,0 @@ filter: "audioonly", |
@@ -0,0 +0,0 @@ const ytdl = require("ytdl-core"); |
const fs = require("fs"); | ||
module.exports = { fileExist: (pathname) => fs.existsSync(pathname) } |
@@ -0,0 +0,0 @@ const ytdl = require("ytdl-core") |
@@ -0,0 +0,0 @@ const parserTitles = (title) => { |
@@ -0,0 +0,0 @@ /** |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19108