invidious: allow HTTP URLs too
This commit is contained in:
parent
5fad16dbbd
commit
b37356c964
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user