invidious: change heuristic for using path as ID

This commit is contained in:
Lucas 2020-05-02 20:46:28 +00:00
parent 3fcbc23542
commit 06f9918f2c

View File

@ -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
} }