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

Philipp Hagemeister phihag at phihag.de
Mon Nov 21 16:14:17 EST 2011


-----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 at 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-----



More information about the Python-list mailing list