fix youtube video

This commit is contained in:
tianyu 2016-02-21 16:57:47 +08:00
parent 7514ee537b
commit 0fa0c60756
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ export LC_ALL=en_US.UTF-8
cd "$DOWNLOAD_DIR"
AUDIO=$(youtube-dl -F $URI | grep "DASH audio"|grep "aac\|webm"|tail -1|cut -d ' ' -f 1)
VIDEO=$(youtube-dl -F $URI | grep "DASH video"|grep "mp4"|tail -1|cut -d ' ' -f 1)
VIDEO=$(youtube-dl -F $URI | grep "DASH video\|video only"|grep "mp4"|tail -1|cut -d ' ' -f 1)
youtube-dl -v -f $VIDEO+$AUDIO -k $URI