From 56835a92213efb2a435a16d17283f4342b9d021b Mon Sep 17 00:00:00 2001
From: Violet <110205356+Violets-puragtory@users.noreply.github.com>
Date: Mon, 28 Aug 2023 13:33:16 +0000
Subject: [PATCH] 2 new formats, fixed idiocy
---
index.js | 2 +-
static/index.html | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/index.js b/index.js
index ab4b078..467aa52 100644
--- a/index.js
+++ b/index.js
@@ -24,7 +24,7 @@ app.get("/download", (req, res) => {
const format = req.query.format
const quality = req.query.quality
- if (!ytdl.validateURL("https://www.youtube.com/video/_FJGQ7Hae2I)")) {
+ if (!ytdl.validateURL(url)) {
res.send("Invalid URL!")
return
}
diff --git a/static/index.html b/static/index.html
index ee98a84..13f27e1 100644
--- a/static/index.html
+++ b/static/index.html
@@ -35,10 +35,12 @@
+
+