Tweaked convert and download a bit
This commit is contained in:
10
download.sh
Normal file → Executable file
10
download.sh
Normal file → Executable file
@ -1,12 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
url=$1
|
||||
mkdir ../subs
|
||||
mkdir ../original
|
||||
|
||||
#download subs
|
||||
cd ../subs
|
||||
youtube-dl --write-auto-sub --skip-download $url
|
||||
#cd ../subs
|
||||
#youtube-dl --write-auto-sub --yes-playlist --skip-download -o '%(playlist_index)s' $1
|
||||
|
||||
# download videos
|
||||
cd ../original
|
||||
youtube-dl -f 22 $url
|
||||
|
||||
youtube-dl -f 22 --yes-playlist -o '%(playlist_index)s' $1
|
||||
Reference in New Issue
Block a user