youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 5d40a470a2c62f33de54f14a04dfab997e6503fe
parent 4cc391461ae5cb9f2626172426a10a146458aa96
Author: Filippo Valsorda <filippo.valsorda@gmail.com>
Date:   Fri,  9 Nov 2012 12:32:07 +0100

quiet the HTMLParser debug info - closes #517

Diffstat:
Myoutube_dl/utils.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py @@ -83,7 +83,7 @@ class IDParser(HTMLParser.HTMLParser): HTMLParser.HTMLParser.__init__(self) def error(self, message): - print >> sys.stderr, self.getpos() + #print >> sys.stderr, self.getpos() if self.error_count > 10 or self.started: raise HTMLParser.HTMLParseError(message, self.getpos()) self.rawdata = '\n'.join(self.html.split('\n')[self.getpos()[0]:]) # skip one line