From 2a826b45fff063f0dffbc25bd529cb4a2ec5d4ad Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Fri, 7 Aug 2015 03:30:44 +0300 Subject: network/youtube-dl: Updated for version 2015.08.06.1. Signed-off-by: Dimitris Zlatanidis --- network/youtube-dl/youtube-dl.1 | 20 ++++++++++++++++++++ network/youtube-dl/youtube-dl.SlackBuild | 2 +- network/youtube-dl/youtube-dl.info | 6 +++--- 3 files changed, 24 insertions(+), 4 deletions(-) (limited to 'network/youtube-dl') diff --git a/network/youtube-dl/youtube-dl.1 b/network/youtube-dl/youtube-dl.1 index cde2abf571..b27ad810f0 100644 --- a/network/youtube-dl/youtube-dl.1 +++ b/network/youtube-dl/youtube-dl.1 @@ -393,6 +393,9 @@ Use commas to download multiple formats, such as You can merge the video and audio of two formats into a single file using \f[C]\-f\ +\f[] (requires ffmpeg or avconv), for example \f[C]\-f\ bestvideo+bestaudio\f[]. +Format selectors can also be grouped using parentheses, for example if +you want to download the best mp4 and webm formats with a height lower +than 480 you can use \f[C]\-f\ \[aq](mp4,webm)[height<480]\[aq]\f[]. .PP Since the end of April 2015 and version 2015.04.26 youtube\-dl uses \f[C]\-f\ bestvideo+bestaudio/best\f[] as default format selection (see @@ -680,6 +683,23 @@ youtube\-dl\ \-\-\ \-wNyEUrxzFU youtube\-dl\ "http://www.youtube.com/watch?v=\-wNyEUrxzFU" \f[] .fi +.SS How do I pass cookies to youtube\-dl? +.PP +Use the \f[C]\-\-cookies\f[] option, for example +\f[C]\-\-cookies\ /path/to/cookies/file.txt\f[]. +Note that cookies file must be in Mozilla/Netscape format and the first +line of cookies file must be either \f[C]#\ HTTP\ Cookie\ File\f[] or +\f[C]#\ Netscape\ HTTP\ Cookie\ File\f[]. +Make sure you have correct newline +format (https://en.wikipedia.org/wiki/Newline) in cookies file and +convert newlines if necessary to correspond your OS, namely +\f[C]CRLF\f[] (\f[C]\\r\\n\f[]) for Windows, \f[C]LF\f[] (\f[C]\\n\f[]) +for Linux and \f[C]CR\f[] (\f[C]\\r\f[]) for Mac OS. +\f[C]HTTP\ Error\ 400:\ Bad\ Request\f[] when using \f[C]\-\-cookies\f[] +is a good sign of invalid newline format. +.PP +Passing cookies to youtube\-dl is a good way to workaround login when +particular extractor does not implement it explicitly. .SS Can you add support for this anime video site, or site which shows current movies for free? .PP diff --git a/network/youtube-dl/youtube-dl.SlackBuild b/network/youtube-dl/youtube-dl.SlackBuild index 085b23a814..4e5efaeeeb 100644 --- a/network/youtube-dl/youtube-dl.SlackBuild +++ b/network/youtube-dl/youtube-dl.SlackBuild @@ -24,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=youtube-dl -VERSION=${VERSION:-2015.07.28} +VERSION=${VERSION:-2015.08.06.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/network/youtube-dl/youtube-dl.info b/network/youtube-dl/youtube-dl.info index bc01dc1c6d..d2efca56af 100644 --- a/network/youtube-dl/youtube-dl.info +++ b/network/youtube-dl/youtube-dl.info @@ -1,8 +1,8 @@ PRGNAM="youtube-dl" -VERSION="2015.07.28" +VERSION="2015.08.06.1" HOMEPAGE="https://rg3.github.io/youtube-dl" -DOWNLOAD="https://github.com/rg3/youtube-dl/archive/2015.07.28.tar.gz" -MD5SUM="3436d7889391b3808fc00ec91b5e520a" +DOWNLOAD="https://github.com/rg3/youtube-dl/archive/2015.08.06.1.tar.gz" +MD5SUM="183c7838989d40b32220771b497b1d43" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -- cgit v1.2.3