Skip to content

Commit

Permalink
Merge pull request #2 from N09527/patch-1
Browse files Browse the repository at this point in the history
SGTM
  • Loading branch information
OzakIOne committed Jul 26, 2021
2 parents 1995699 + 59a5dc8 commit afa3412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion share2youtubedl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if [[ "$1" =~ ^.*youtu.*$ ]] || [[ "$1" =~ ^.*youtube.*$ ]]; then
youtube-dl -f "$video"+"$audio" "$1"
elif [[ "$1" =~ ^.*nourlselected.*$ ]]; then
echo "There was an error"
else youtube-dl -f best "$1"
else youtube-dl -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best' "$1"
fi

read -p "Press enter to continue"

0 comments on commit afa3412

Please sign in to comment.