network/youtube-dl: Updated for version 2016.08.22.

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2016-08-22 03:01:15 +03:00 committed by David Spencer
parent 0a4a566402
commit 91b82fa449
3 changed files with 11 additions and 22 deletions

View file

@ -338,24 +338,7 @@ Use only video ID in file name
.RE .RE
.TP .TP
.B \-o, \-\-output \f[I]TEMPLATE\f[] .B \-o, \-\-output \f[I]TEMPLATE\f[]
Output filename template. Output filename template, see the "OUTPUT TEMPLATE" for all the info
Use %(title)s to get the title, %(uploader)s for the uploader name,
%(uploader_id)s for the uploader nickname if different, %(autonumber)s
to get an automatically incremented number, %(ext)s for the filename
extension, %(format)s for the format description (like "22 \- 1280x720"
or "HD"), %(format_id)s for the unique id of the format (like
YouTube\[aq]s itags: "137"), %(upload_date)s for the upload date
(YYYYMMDD), %(extractor)s for the provider (youtube, metacafe, etc),
%(id)s for the video id, %(playlist_title)s, %(playlist_id)s, or
%(playlist)s (=title if present, ID otherwise) for the playlist the
video is in, %(playlist_index)s for the position in the playlist.
%(height)s and %(width)s for the width and height of the video format.
%(resolution)s for a textual description of the resolution of the video
format.
%% for a literal percent.
Use \- to output to stdout.
Can also be used to download to a different directory, for example with
\-o \[aq]/my/downloads/%(uploader)s /%(title)s\-%(id)s.%(ext)s\[aq] .
.RS .RS
.RE .RE
.TP .TP
@ -1305,8 +1288,14 @@ $\ youtube\-dl\ \-f\ \[aq]best[filesize<50M]\[aq]
#\ Download\ best\ format\ available\ via\ direct\ link\ over\ HTTP/HTTPS\ protocol #\ Download\ best\ format\ available\ via\ direct\ link\ over\ HTTP/HTTPS\ protocol
$\ youtube\-dl\ \-f\ \[aq](bestvideo+bestaudio/best)[protocol^=http]\[aq] $\ youtube\-dl\ \-f\ \[aq](bestvideo+bestaudio/best)[protocol^=http]\[aq]
#\ Download\ the\ best\ video\ format\ and\ the\ best\ audio\ format\ without\ merging\ them
$\ youtube\-dl\ \-f\ \[aq]bestvideo,bestaudio\[aq]\ \-o\ \[aq]%(title)s.f%(format_id)s.%(ext)s\[aq]
\f[] \f[]
.fi .fi
.PP
Note that in the last example, an output template is recommended as
bestvideo and bestaudio may have the same file name.
.SH VIDEO SELECTION .SH VIDEO SELECTION
.PP .PP
Videos can be filtered by their upload date using the options Videos can be filtered by their upload date using the options

View file

@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=youtube-dl PRGNAM=youtube-dl
VERSION=${VERSION:-2016.08.13} VERSION=${VERSION:-2016.08.22}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}

View file

@ -1,8 +1,8 @@
PRGNAM="youtube-dl" PRGNAM="youtube-dl"
VERSION="2016.08.13" VERSION="2016.08.22"
HOMEPAGE="https://rg3.github.io/youtube-dl" HOMEPAGE="https://rg3.github.io/youtube-dl"
DOWNLOAD="https://github.com/rg3/youtube-dl/archive/2016.08.13.tar.gz" DOWNLOAD="https://github.com/rg3/youtube-dl/archive/2016.08.22.tar.gz"
MD5SUM="389ab5dd0b6cf4dfc74f2768f8c1b97d" MD5SUM="f21ffd510fc40e4f1240df8ba177ecc0"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""