Update index.js
Browse files194 unmodified lines195196197198199200201202203204205206194 unmodified lines}}const youtubedl = require('youtube-dl-exec');async function ytAPI(url) {try {// Execute youtube-dl to get video informationconst output = await youtubedl(url, {dumpSingleJson: true,noCheckCertificates: true,noWarnings: true,194 unmodified lines195196197198199200201202203204205206194 unmodified lines}}const youtubedel = require('youtube-dl-exec');async function ytAPI(url) {try {// Execute youtube-dl to get video informationconst output = await youtubedel(url, {dumpSingleJson: true,noCheckCertificates: true,noWarnings: true,
index.js+2-2