Update aliases
This commit is contained in:
parent
ae13200d2e
commit
ee3aa1a046
5
aliases
5
aliases
|
@ -688,8 +688,6 @@ dl_twitter_vid() {
|
|||
local make_folder="$2"
|
||||
local url="$3"
|
||||
local vid_name="$4"
|
||||
shift 4
|
||||
local opts="$@"
|
||||
|
||||
if [[ $url == "" ]]; then
|
||||
error "Format: $0 <make folder?> <url> <optional filename> <optional args>\n"
|
||||
|
@ -700,8 +698,11 @@ dl_twitter_vid() {
|
|||
|
||||
if [[ $vid_name == "" ]]; then
|
||||
local name_format="%(upload_date>%Y-%m-%d)s-%(title)s-twitter-%(id)s"
|
||||
local opts=""
|
||||
else
|
||||
local name_format="%(upload_date>%Y-%m-%d)s-${vid_name}-twitter-%(id)s"
|
||||
shift 4
|
||||
local opts="$@"
|
||||
fi
|
||||
|
||||
if [[ $make_folder == "1" ]]; then
|
||||
|
|
Loading…
Reference in New Issue
Block a user