xkcd facebook

GitHub Gist: instantly share code, notes, and snippets.

soup = BeautifulSoup(html_doc, 'http://m.xkcd.com'). try: img = urllib2.urlopen( soup.find_all(id='comic')[1].get_src()).read(). # do facebook stuff here. except: pass ...

Lee mas