aboutsummaryrefslogtreecommitdiff
path: root/network/yturl/yturl.pod
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2015-09-10 03:42:02 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-09-12 08:11:29 +0700
commitb2fa0f587e8f241bd7c558d823888a995a3c46a5 (patch)
tree513e068f2b51e45b135fcfca214f758f2bd250c7 /network/yturl/yturl.pod
parent2838f20d84f706edd6f7ca7cbfb3ae7d70167108 (diff)
network/yturl: Updated for version 1.20.0, update man page.
Diffstat (limited to 'network/yturl/yturl.pod')
-rw-r--r--network/yturl/yturl.pod21
1 files changed, 20 insertions, 1 deletions
diff --git a/network/yturl/yturl.pod b/network/yturl/yturl.pod
index b1f75a1a4bf7..51a47b4a19cd 100644
--- a/network/yturl/yturl.pod
+++ b/network/yturl/yturl.pod
@@ -1,5 +1,5 @@
# POD source for yturl man page. Convert with:
-# pod2man --stderr -s1 -cSlackBuilds.org -r1.17.0 yturl.pod > yturl.1
+# pod2man --stderr -s1 -cSlackBuilds.org -r1.20.0 yturl.pod > yturl.1
=pod
@@ -13,6 +13,25 @@ yturl [-h] [-q QUALITY] videoID/url
videoID/url is a YouTube url or bare video ID.
+=head1 DESCRIPTION
+
+By default, yturl prints the media URL to standard output.
+
+ $ yturl 'http://www.youtube.com/watch?v=8TCxE0bWQeQ'
+ Using itag 43.
+ http://r2---sn-uphxqvujvh-30al.googlevideo.com/videoplayback?source=[...]
+
+This means that you can do something like the following to watch it in
+mpv:
+
+ $ mpv "$(yturl 'http://www.youtube.com/watch?v=8TCxE0bWQeQ')"
+
+(also works with vlc, but for some reason not with mplayer)
+
+Or something like the following to download it (using curl):
+
+ $ curl -Lo bill "$(yturl 'http://www.youtube.com/watch?v=8TCxE0bWQeQ')"
+
=head1 OPTIONS
=over 4