diff --git a/aliases b/aliases index c3c99fb..e630eff 100644 --- a/aliases +++ b/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 \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