some more itunes.py

This commit is contained in:
Rolux 2008-04-29 15:16:51 +02:00
parent 56213f1a46
commit 3bcdd5e169

View file

@ -87,5 +87,6 @@ class ItunesAlbum:
data['type'] = findString(xml, '<key>listType</key><string>', '<') data['type'] = findString(xml, '<key>listType</key><string>', '<')
return data return data
test = ItunesAlbum('Rio', 'Duran Duran') if __name__ == '__main__':
test = ItunesAlbum('So Red the Rose', 'Arcadia')
print test.getData() print test.getData()