Skip to content

Instantly share code, notes, and snippets.

import urllib
from xml.etree.ElementTree import parse
URL = '''http://jameslyons0.blogspot.com.au/feeds/posts/default?max-results=9999'''
xml = parse(urllib.urlopen(URL)).getroot()
info = {}
for post in xml.getchildren():
if post.tag=='{http://www.w3.org/2005/Atom}entry':
headers,title,link=[],None,None
@jameslyons
jameslyons / gist:7819163
Created December 6, 2013 05:47
test gist
for i = 1:10
print(i)
end