A clean and minimal youtube frontend, without all the ads and whistles
JavaScript
cleanup
Christian Feiee0d3901c0b7
diff --git a/lib/youtube.js b/lib/youtube.jsindex d4672fc..6b4a97a 100644--- a/lib/youtube.js+++ b/lib/youtube.js@@ -7,7 +7,7 @@ function getOptionalCookiesPath() {if (fs.existsSync('/app/cookies.txt')) return '/app/cookies.txt'if (fs.existsSync('./cookies.txt')) return './cookies.txt'console.log('cookies not exist')- return []+ return}export async function downloadVideo(id, repo, callback = () => {}) {