mirror of
https://github.com/xdtianyu/scripts.git
synced 2025-08-12 00:17:58 +08:00
fix youtube video
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user