From 3fc687d7e13299241a76330d2b8cdad708ec63e1 Mon Sep 17 00:00:00 2001 From: em-777 <89056341+em-777@users.noreply.github.com> Date: Sun, 20 Oct 2024 14:36:42 -0500 Subject: [PATCH] Fixed channel bug The channel function wasn't working, but I managed to fix it by deleting just two characters. --- yt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt b/yt index 7765a34..fe4a820 100755 --- a/yt +++ b/yt @@ -153,7 +153,7 @@ query=$(sed \ # if channel look for channel vids if [[ $action = "c" ]]; then - response=$(curl -s "https://www.youtube.com/c/$query/videos" |\ + response=$(curl -s "https://www.youtube.com/$query/videos" |\ sed "s/{\"videoRenderer/\n\n&/g" |\ sed "s/}]}}}]}}/&\n\n/g" |\ awk -v ORS="\n\n" '/videoRenderer/')