diff --git a/jamendoparser.py b/jamendoparser.py index cff3c3c..67a8d74 100644 --- a/jamendoparser.py +++ b/jamendoparser.py @@ -77,6 +77,7 @@ for event, element in iterparse(xml, tag="artist"): mbgid = get_attribute(element, 'mbgid') location = get_attribute(element, 'location') + cursor.execute("INSERT INTO artists VALUES (?, ?, ?, ?, ?, ?)", (artistid, name, url, image, mbgid, location)) print "[%s] %s from %s (image: %s)" % (artistid, name, location, image) for album in element.find('Albums'):