From 6cc78c3c5508bce47dbf0eec659fc342001a5239 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Tue, 3 Jan 2017 08:35:45 +0200 Subject: network/youtube-dl: Updated for version 2017.01.02. Signed-off-by: Dimitris Zlatanidis --- network/youtube-dl/youtube-dl.1 | 33 +++++++++++++++++++------------- network/youtube-dl/youtube-dl.SlackBuild | 4 ++-- network/youtube-dl/youtube-dl.info | 6 +++--- 3 files changed, 25 insertions(+), 18 deletions(-) (limited to 'network/youtube-dl') diff --git a/network/youtube-dl/youtube-dl.1 b/network/youtube-dl/youtube-dl.1 index 36a9b09709..136002c277 100644 --- a/network/youtube-dl/youtube-dl.1 +++ b/network/youtube-dl/youtube-dl.1 @@ -84,6 +84,12 @@ not read the user configuration in ~/.config/youtube\- dl/config .RS .RE .TP +.B \-\-config\-location \f[I]PATH\f[] +Location of the configuration file; either the path to the config or its +containing directory. +.RS +.RE +.TP .B \-\-flat\-playlist Do not extract the videos of a playlist, only list them. .RS @@ -305,7 +311,7 @@ Download playlist videos in reverse order .RE .TP .B \-\-xattr\-set\-filesize -Set file xattribute ytdl.filesize with expected filesize (experimental) +Set file xattribute ytdl.filesize with expected file size (experimental) .RS .RE .TP @@ -731,7 +737,7 @@ If this option is left out, youtube\-dl will ask interactively. .RE .TP .B \-2, \-\-twofactor \f[I]TWOFACTOR\f[] -Two\-factor auth code +Two\-factor authentication code .RS .RE .TP @@ -1262,10 +1268,11 @@ Also filtering work for comparisons \f[C]=\f[] (equals), \f[C]!=\f[] \f[C]ext\f[]: File extension \- \f[C]acodec\f[]: Name of the audio codec in use \- \f[C]vcodec\f[]: Name of the video codec in use \- \f[C]container\f[]: Name of the container format \- \f[C]protocol\f[]: -The protocol that will be used for the actual download, lower\-case. -\f[C]http\f[], \f[C]https\f[], \f[C]rtsp\f[], \f[C]rtmp\f[], -\f[C]rtmpe\f[], \f[C]m3u8\f[], or \f[C]m3u8_native\f[] \- -\f[C]format_id\f[]: A short description of the format +The protocol that will be used for the actual download, lower\-case +(\f[C]http\f[], \f[C]https\f[], \f[C]rtsp\f[], \f[C]rtmp\f[], +\f[C]rtmpe\f[], \f[C]mms\f[], \f[C]f4m\f[], \f[C]ism\f[], \f[C]m3u8\f[], +or \f[C]m3u8_native\f[]) \- \f[C]format_id\f[]: A short description of +the format .PP Note that none of the aforementioned meta fields are guaranteed to be present since this solely depends on the metadata obtained by particular @@ -1470,7 +1477,7 @@ Apparently YouTube requires you to pass a CAPTCHA test if you download too much. We\[aq]re considering to provide a way to let you solve the CAPTCHA (https://github.com/rg3/youtube-dl/issues/154), but at the -moment, your best course of action is pointing a webbrowser to the +moment, your best course of action is pointing a web browser to the youtube URL, solving the CAPTCHA, and restart youtube\-dl. .SS Do I need any other programs? .PP @@ -1492,7 +1499,7 @@ Once the video is fully downloaded, use any video player, such as mpv (https://mpv.io/), vlc (http://www.videolan.org/) or mplayer (http://www.mplayerhq.hu/). .SS I extracted a video URL with \f[C]\-g\f[], but it does not play on -another machine / in my webbrowser. +another machine / in my web browser. .PP It depends a lot on the service. In many cases, requests for the video (to download/play it) must come @@ -1878,8 +1885,8 @@ infringement (README.md#can-you-add-support-for-this-anime-video-site-or-site-wh youtube\-dl does \f[B]not support\f[] such sites thus pull requests adding support for them \f[B]will be rejected\f[]. .PP -After you have ensured this site is distributing it\[aq]s content -legally, you can follow this quick list (assuming your service is called +After you have ensured this site is distributing its content legally, +you can follow this quick list (assuming your service is called \f[C]yourextractor\f[]): .IP " 1." 4 Fork this repository (https://github.com/rg3/youtube-dl/fork) @@ -2075,7 +2082,7 @@ Assume at this point \f[C]meta\f[]\[aq]s layout is: .PP Assume you want to extract \f[C]summary\f[] and put it into the resulting info dict as \f[C]description\f[]. -Since \f[C]description\f[] is an optional metafield you should be ready +Since \f[C]description\f[] is an optional meta field you should be ready that this key may be missing from the \f[C]meta\f[] dict, so that you should extract it like: .IP @@ -2238,7 +2245,7 @@ with\ youtube_dl.YoutubeDL(ydl_opts)\ as\ ydl: .PP Most likely, you\[aq]ll want to use various options. For a list of options available, have a look at -\f[C]youtube_dl/YoutubeDL.py\f[] (https://github.com/rg3/youtube-dl/blob/master/youtube_dl/YoutubeDL.py#L128-L278). +\f[C]youtube_dl/YoutubeDL.py\f[] (https://github.com/rg3/youtube-dl/blob/master/youtube_dl/YoutubeDL.py#L129-L279). For a start, if you want to intercept youtube\-dl\[aq]s output, set a \f[C]logger\f[] object. .PP @@ -2435,7 +2442,7 @@ splits the issue into multiple ones. In particular, every site support request issue should only pertain to services at one site (generally under a common domain, but always using the same backend technology). -Do not request support for vimeo user videos, Whitehouse podcasts, and +Do not request support for vimeo user videos, White house podcasts, and Google Plus pages in the same issue. Also, make sure that you don\[aq]t post bug reports alongside feature requests. diff --git a/network/youtube-dl/youtube-dl.SlackBuild b/network/youtube-dl/youtube-dl.SlackBuild index b7519658b7..d412f6d9ed 100644 --- a/network/youtube-dl/youtube-dl.SlackBuild +++ b/network/youtube-dl/youtube-dl.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for youtube-dl # Copyright 2010 GPLeo # Copyright 2010-2012 byteframe -# Copyright 2015-2016 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2015-2017 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=youtube-dl -VERSION=${VERSION:-2016.12.09} +VERSION=${VERSION:-2017.01.02} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/network/youtube-dl/youtube-dl.info b/network/youtube-dl/youtube-dl.info index 1fa47253c9..eac15d102d 100644 --- a/network/youtube-dl/youtube-dl.info +++ b/network/youtube-dl/youtube-dl.info @@ -1,8 +1,8 @@ PRGNAM="youtube-dl" -VERSION="2016.12.09" +VERSION="2017.01.02" HOMEPAGE="https://rg3.github.io/youtube-dl" -DOWNLOAD="https://github.com/rg3/youtube-dl/archive/2016.12.09.tar.gz" -MD5SUM="bbc656a8f4579fbc8b65b3323dad5310" +DOWNLOAD="https://github.com/rg3/youtube-dl/archive/2017.01.02.tar.gz" +MD5SUM="1e3234bcfc6311c608e2992fe9f4db82" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -- cgit v1.2.3