From dd9c8c65d650b941bb77229c5dc73361bc78f5f0 Mon Sep 17 00:00:00 2001 From: Violet <110205356+Violets-puragtory@users.noreply.github.com> Date: Wed, 1 Nov 2023 18:15:37 +0000 Subject: [PATCH] oops --- README.md | 1 + index.js | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7150a7e..f6e6396 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ Simpletube is a NodeJS youtube client without ads or client-sided javascript. ## Player Goals - [x] Make a basic video player - [x] Make it *stylish* +- [ ] Add channel info - [ ] Add captions - [ ] Show channel on watch page - [ ] Add live support diff --git a/index.js b/index.js index 6aa04a4..3afeeeb 100644 --- a/index.js +++ b/index.js @@ -153,7 +153,9 @@ app.get("/search", async (req, res) => { ` } } - + if (addedHTML == "") { + addedHTML = "

No results found!

" + } res.send(html.replace("{RESULTS}", addedHTML)) }