g = Grab()g.go('http://python.net')for elem in g.xpath_list('//meta'): print elem.get('name'), elem.get('content')