network/youtube-dl: Updated for version 2015.08.06.1.

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2015-08-07 03:30:44 +03:00 committed by Willy Sudiarto Raharjo
parent cf6bb367c4
commit 2a826b45ff
3 changed files with 24 additions and 4 deletions

View file

@ -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\ <video\-format>+<audio\-format>\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

View file

@ -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}

View file

@ -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=""