#/bin/bash
[[ "$1" ]] && url="$1" || url="$(xclip -o)"
[[ "$url" != "https://"* ]] && read -p "Please Enter Video URL: " url
[[ "$url" != "https://"* ]] || exit 1
wget -qO- "$url"|tr "," "\n"|grep '^"title":"'|cut -d\" -f4
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment