invidious: allow HTTP URLs too
This commit is contained in:
parent
5fad16dbbd
commit
b37356c964
@ -31,11 +31,11 @@ api()
|
|||||||
known_site()
|
known_site()
|
||||||
{
|
{
|
||||||
printf "%s\n" "$1" | grep -Eq \
|
printf "%s\n" "$1" | grep -Eq \
|
||||||
-e "^https://(www\.)?youtube\.com/" \
|
-e "^https?://(www\.)?youtube\.com/" \
|
||||||
-e "^https://youtu\.be/" \
|
-e "^https?://youtu\.be/" \
|
||||||
-e "^https://(www\.)?invidio\.us/" \
|
-e "^https?://(www\.)?invidio\.us/" \
|
||||||
-e "^https://invidious\.snopyta\.org/" \
|
-e "^https?://invidious\.snopyta\.org/" \
|
||||||
-e "^https://yewtu\.be/"
|
-e "^https?://yewtu\.be/"
|
||||||
}
|
}
|
||||||
|
|
||||||
get_id_path()
|
get_id_path()
|
||||||
|
Loading…
Reference in New Issue
Block a user