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()
|
get_id()
|
||||||
{
|
{
|
||||||
case $1 in
|
case $1 in
|
||||||
"https://youtu.be/" | *"/embed/"*)
|
*"?v="*)
|
||||||
get_id_path "$1"
|
get_id_query "$1"
|
||||||
;;
|
;;
|
||||||
*) get_id_query "$1"
|
*) get_id_path "$1"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user