Update aliases
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user