From b37356c964d8fa2be14195b792d105958265e078 Mon Sep 17 00:00:00 2001 From: Lucas Date: Sun, 7 Jun 2020 14:02:36 +0000 Subject: [PATCH] invidious: allow HTTP URLs too --- bin/invidious.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/invidious.sh b/bin/invidious.sh index ccabf67..1a63a26 100644 --- a/bin/invidious.sh +++ b/bin/invidious.sh @@ -31,11 +31,11 @@ api() known_site() { printf "%s\n" "$1" | grep -Eq \ - -e "^https://(www\.)?youtube\.com/" \ - -e "^https://youtu\.be/" \ - -e "^https://(www\.)?invidio\.us/" \ - -e "^https://invidious\.snopyta\.org/" \ - -e "^https://yewtu\.be/" + -e "^https?://(www\.)?youtube\.com/" \ + -e "^https?://youtu\.be/" \ + -e "^https?://(www\.)?invidio\.us/" \ + -e "^https?://invidious\.snopyta\.org/" \ + -e "^https?://yewtu\.be/" } get_id_path()