From 3cc3bb9f420c463934b9cfb01825ff4a07d906a8 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 9 Dec 2008 19:42:21 +0100 Subject: [PATCH] remove debug --- oxweb/youtube.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/oxweb/youtube.py b/oxweb/youtube.py index d00ce91..a788b30 100644 --- a/oxweb/youtube.py +++ b/oxweb/youtube.py @@ -21,7 +21,6 @@ def getVideoKey(youtubeId): response = conn.getresponse () conn.close () except: - print "failed to make connection" return False if response.status >= 300 and response.status < 400: @@ -29,8 +28,6 @@ def getVideoKey(youtubeId): match = re.match(".*[?&]t=([^&]+)", location) if match: return match.groups()[0] - print response.status - print "no match" return False def getVideoUrl(youtubeId, format='mp4'):