invidious: change heuristic for using path as ID
This commit is contained in:
parent
3fcbc23542
commit
06f9918f2c
@ -65,10 +65,10 @@ get_id_query()
|
||||
get_id()
|
||||
{
|
||||
case $1 in
|
||||
"https://youtu.be/" | *"/embed/"*)
|
||||
get_id_path "$1"
|
||||
*"?v="*)
|
||||
get_id_query "$1"
|
||||
;;
|
||||
*) get_id_query "$1"
|
||||
*) get_id_path "$1"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user