Store the data - in mysql

want to store the data - instead of printing out
there fore i set up a mysqldb on the suse

import urllib
import urlparse
import re

url = “
html = urllib.urlopen(url).read()
for lk, capname, name in re.findall(‘(.?)</
?)’, html):
alk = urlparse.urljoin(url, lk)

data = { 'url':alk, 'name':name, 'cname':capname }

phtml = urllib.urlopen(alk).read()
memail ='<a href="mailto:(.*?)">', phtml)
if memail:
    data['email'] =

print data