diff options
author | B. Watson <yalhcru@gmail.com> | 2015-09-10 03:42:02 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-09-12 08:11:29 +0700 |
commit | b2fa0f587e8f241bd7c558d823888a995a3c46a5 (patch) | |
tree | 513e068f2b51e45b135fcfca214f758f2bd250c7 /network/yturl/yturl.1 | |
parent | 2838f20d84f706edd6f7ca7cbfb3ae7d70167108 (diff) | |
download | slackbuilds-b2fa0f587e8f241bd7c558d823888a995a3c46a5.tar.gz |
network/yturl: Updated for version 1.20.0, update man page.
Diffstat (limited to 'network/yturl/yturl.1')
-rw-r--r-- | network/yturl/yturl.1 | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/network/yturl/yturl.1 b/network/yturl/yturl.1 index 6201f0f820..fe3c5eb244 100644 --- a/network/yturl/yturl.1 +++ b/network/yturl/yturl.1 @@ -133,7 +133,7 @@ .\" ======================================================================== .\" .IX Title "YTURL 1" -.TH YTURL 1 "2015-01-20" "1.17.0" "SlackBuilds.org" +.TH YTURL 1 "2015-09-10" "1.20.0" "SlackBuilds.org" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -145,6 +145,30 @@ yturl \- Get direct URLs to YouTube videos. yturl [\-h] [\-q \s-1QUALITY\s0] videoID/url .PP videoID/url is a YouTube url or bare video \s-1ID.\s0 +.SH "DESCRIPTION" +.IX Header "DESCRIPTION" +By default, yturl prints the media \s-1URL\s0 to standard output. +.PP +.Vb 3 +\& $ yturl \*(Aqhttp://www.youtube.com/watch?v=8TCxE0bWQeQ\*(Aq +\& Using itag 43. +\& http://r2\-\-\-sn\-uphxqvujvh\-30al.googlevideo.com/videoplayback?source=[...] +.Ve +.PP +This means that you can do something like the following to watch it in +mpv: +.PP +.Vb 1 +\& $ mpv "$(yturl \*(Aqhttp://www.youtube.com/watch?v=8TCxE0bWQeQ\*(Aq)" +.Ve +.PP +(also works with vlc, but for some reason not with mplayer) +.PP +Or something like the following to download it (using curl): +.PP +.Vb 1 +\& $ curl \-Lo bill "$(yturl \*(Aqhttp://www.youtube.com/watch?v=8TCxE0bWQeQ\*(Aq)" +.Ve .SH "OPTIONS" .IX Header "OPTIONS" .IP "\-h, \-\-help" 4 |