Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- url=$1
- txt=$(wget -q $url -O - | awk -F '"shortDescription"' '{print $2}')
- txt=$(echo $txt | awk -F ':"' '{print $2}')
- txt=$(echo $txt | awk -F 'https' '{print $2}')
- txt="https${txt}"
- txt=$(echo $txt | awk -F 'view' '{print $1}')
- echo $txt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement