mirror of https://github.com/mpv-player/mpv
TOOLS/youtube-dl_mpv.sh: disable globbing before expanding $video_url
$video_url can contain a question mark, which can be expanded to a character in an existing file name if globbing is enabled.
This commit is contained in:
parent
948dfe651d
commit
43d4667028
|
@ -16,6 +16,7 @@ video_url="$(youtube-dl \
|
|||
--get-url \
|
||||
"$@")"
|
||||
|
||||
set -f
|
||||
$MPV \
|
||||
--cookies \
|
||||
--cookies-file="$cookies_file" \
|
||||
|
|
Loading…
Reference in New Issue