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

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!newsfeed.eweka.nl!eweka.nl!feeder3.eweka.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <phihag@phihag.de>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'python.': 0.04; 'infinite': 0.07; 'subject:issue': 0.07; 'command-line': 0.09; 'pgp': 0.09; 'streams.': 0.09; 'url:github': 0.09; 'api': 0.09; 'output': 0.10; 'message-----': 0.12; 'developer': 0.12; '(gnu/linux)': 0.16; '-----begin': 0.16; '-----end': 0.16; 'email addr:mail.python.org': 0.16; 'gnupg': 0.16; 'hash:': 0.16; 'shot.': 0.16; 'subject:issues': 0.16; 'url:issues': 0.16; 'cc:addr:python-list': 0.16; 'wrote:': 0.18; 'file,': 0.19; 'issue.': 0.19; 'sfxlen:2': 0.19; 'cc:no real name:2**0': 0.20; 'written': 0.20; 'cheers,': 0.20; 'header:In-Reply-To:1': 0.22; 'cc:2**0': 0.24; 'shell': 0.24; 'code': 0.25; 'helpful': 0.26; 'separate': 0.28; 'urls': 0.28; 'cc:addr:python.org': 0.29; 'error': 0.29; 'received:192.168.1.3': 0.30; 'subject: + ': 0.30; 'developers': 0.32; 'signed': 0.32; 'header:User-Agent:1': 0.33; 'there': 0.33; 'it.': 0.34; 'flag': 0.34; 'install': 0.35; 'response': 0.35; 'file': 0.36; 'subject:with': 0.36; 'http': 0.37; 'but': 0.37; 'run': 0.37; 'received:192': 0.37; "there's": 0.37; 'think': 0.37; 'could': 0.37; 'open': 0.38; 'getting': 0.38; 'version:': 0.39; 'header': 0.39; 'files': 0.39; 'received:192.168': 0.40; 'happens': 0.40; 'download': 0.60; 'within': 0.60; 'range': 0.61; 'more': 0.61; 'your': 0.61; 'waiting': 0.63; 'detected': 0.63; 'free': 0.64; 'guarantee': 0.65; 'contact': 0.66; 'program:': 0.67; 'skip:q 30': 0.84; 'redirect': 0.91; 'to:addr:mail.python.org': 0.91; 'url:hu': 0.93
Date Mon, 21 Nov 2011 22:14:17 +0100
From Philipp Hagemeister <phihag@phihag.de>
User-Agent Mozilla-Thunderbird 2.0.0.24 (X11/20100329)
MIME-Version 1.0
To lbrt@mail.python.org
Subject Re: youtube-dl: way to deal with the size cap issue + new errors + issues ...
References <1321124792.454176@nntp.aceinnovative.com>
In-Reply-To <1321124792.454176@nntp.aceinnovative.com>
X-Enigmail-Version 0.95.0
OpenPGP id=FAFB085C
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 7bit
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2934.1321911509.27778.python-list@python.org> (permalink)
Lines 43
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1321911509 news.xs4all.nl 6853 [2001:888:2000:d::a6]:47611
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:16050

Show key headers only | 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