remove debug

This commit is contained in:
j 2008-12-09 19:42:21 +01:00
parent bf1967e6ea
commit 3cc3bb9f42
1 changed files with 0 additions and 3 deletions

View File

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