aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/utils.py
diff options
context:
space:
mode:
authorFilippo Valsorda <filippo.valsorda@gmail.com>2012-11-09 12:32:07 +0100
committerFilippo Valsorda <filippo.valsorda@gmail.com>2012-11-09 12:32:07 +0100
commit5d40a470a2c62f33de54f14a04dfab997e6503fe (patch)
treeb36a04cb42e195aa94ec06fc8574bb3dbd114bf2 /youtube_dl/utils.py
parent4cc391461ae5cb9f2626172426a10a146458aa96 (diff)
quiet the HTMLParser debug info - closes #517
Diffstat (limited to 'youtube_dl/utils.py')
-rw-r--r--youtube_dl/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py
index a64937b4c..56d046145 100644
--- 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