summaryrefslogtreecommitdiffstats
path: root/network/yturl/yturl.pod
diff options
context:
space:
mode:
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 b1f75a1a4b..51a47b4a19 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