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'):