Advertisement
Guest User

Untitled

a guest
Jan 30th, 2015
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. # Input
  4. address=$1
  5.  
  6. video_filename="$(youtube-dl --get-filename -o '%(title)s.%(ext)s' --restrict-filenames $address)"
  7. video_url="$(youtube-dl --get-url $address)"
  8. #user_agent="$(youtube-dl --dump-user-agent $address)"
  9.  
  10. # modify aria2c options as needed
  11. aria2c -x16 -s20 -k1M --out=$video_filename $video_url
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement