Invidious is an alternative front-end to YouTube
Fallback on ucid for channel search when author contains hyphen
Omar Roth898b768b306f
diff --git a/src/invidious.cr b/src/invidious.crindex 69b825ce..5bd20e13 100644--- a/src/invidious.cr+++ b/src/invidious.cr@@ -2192,7 +2192,7 @@ get "/channel/:ucid" do |env|endif !auto_generated- if author.includes? " "+ if author.includes?(" ") || author.includes?("-")env.set "search", "channel:#{ucid} "elseenv.set "search", "channel:#{author.downcase} "