Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- if [ $# -lt 1 ]
- then
- echo "URL needed..."
- exit 1
- fi
- url="$1"
- echo "Getting embeded URL..."
- embed="$(wget -q "$url" -O- |grep "embed"|grep "allmy"|cut -d\" -f2)"
- echo "Getting Video Name..."
- #name="$(wget -q "$embed" -O-|grep "ttt"|cut -d\? -f2|cut -d\" -f1|sed 's/+/ /g')"
- name="$(basename "$url")"
- echo "Getting Video URL for $name..."
- video="$(wget -q "$embed" -O-|grep "file"|grep "allmyvideos"|cut -d\" -f4)"
- axel -n 10 "$video" -o "${name}.mp4"
Add Comment
Please, Sign In to add comment