Skip to content

Instantly share code, notes, and snippets.

@jk0
Created December 18, 2010 20:13
Show Gist options
  • Save jk0/746840 to your computer and use it in GitHub Desktop.
Save jk0/746840 to your computer and use it in GitHub Desktop.
xml = minidom.parseString(response.read())
for i in xml.childNodes[0].childNodes[1].childNodes[0].childNodes:
title = i._attrs["title"].firstChild.data
title = re.sub(" ", "_", title)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment