Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #16050

Re: youtube-dl: way to deal with the size cap issue + new errors + issues ...

Date 2011-11-21 22:14 +0100
From Philipp Hagemeister <phihag@phihag.de>
Subject Re: youtube-dl: way to deal with the size cap issue + new errors + issues ...
References <1321124792.454176@nntp.aceinnovative.com>
Newsgroups comp.lang.python
Message-ID <mailman.2934.1321911509.27778.python-list@python.org> (permalink)

Show all headers | View raw


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

As a general rule, feel free to contact youtube-dl developers and users
at https://github.com/rg3/youtube-dl/issues/ . youtube-dl is just one
application, which happens to be written in Python.

lbrt@mail.python.org wrote:
>  I did find my way (through a silly hack) to get all files within a size range without waiting for youtube-dl to be "enhanced".
You may be able to send a HEAD request to the URL, but there's no
guarantee the response will contain a Content-Length header. In fact,
there will never be a Content-Lenght header for infinite HTTP streams.
Also, RTMP URLs are way more complicated.

>  I have also been getting errors reporting:
>  RTMP download detected but "rtmpdump" could not be run
You need rtmpdump. See http://rtmpdump.mplayerhq.hu/ for instructions on
how to install it.

>  It would be very helpful if you could redirect youtube-dl errors to a separate file you would indicate via a flag
If you think so, please open an issue. Do not forget to consider the
usefulness not only for your specific application, but also of other
applications. I think the command-line API
(https://github.com/rg3/youtube-dl/issues/152) will be your best shot.
Note that you can already redirect youtube-dl's output to a file, just
like any other shell program:

$ youtube-dl uHlDtZ6Oc3s > log

will write a file log that contains all of youtube-dl's output. If the
return code is not 0, an error has occured.

Cheers,

Philipp
youtube-dl developer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEAREKAAYFAk7KvygACgkQ9eq1gvr7CFw6GwCfeaF0TPNonTCaXVBDnmDBPio2
qVQAn2/JQzTbBYs+pe50t4qVCjxY+BLy
=o6uC
-----END PGP SIGNATURE-----

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

youtube-dl: way to deal with the size cap issue + new errors + issues ... lbrt chx _ gemale - 2011-11-12 19:06 +0000
  Re: youtube-dl: way to deal with the size cap issue + new errors + issues ... Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-11-12 23:54 +0000
  Re: youtube-dl: way to deal with the size cap issue + new errors + issues ... Philipp Hagemeister <phihag@phihag.de> - 2011-11-21 22:14 +0100

csiph-web