remove debug print lines that melonhead left in

This commit is contained in:
Ryan Hitchman 2010-02-28 18:16:34 -07:00
parent 663dfe884b
commit a4ada7893c
1 changed files with 0 additions and 2 deletions

View File

@ -17,7 +17,6 @@ search_api_url = "http://gdata.youtube.com/feeds/api/videos?q=%s&max-results=1&a
video_url = "http://youtube.com/watch?v=%s"
def get_video_description(vid):
print vid
j = json.load(urllib2.urlopen(url % vid))
if j.get('error'):
@ -56,7 +55,6 @@ def get_video_description(vid):
@hook.command(hook=r'(.*)', prefix=False)
def youtube_url(inp):
print inp
m = youtube_re.search(inp)
if m:
return get_video_description(m.group(1))