1
dreampuf 2013-01-23 13:55:25 +08:00 1
el = etree.fromstring(urllib2.urlopen("http://drips.me/api.xml").read())
for i in el.xpath('//xmlns:Item', namespaces={"xmlns": "http://webservices.amazon.com/AWSECommerceService/2011-08-01"}): print i |