Skip to content

Instantly share code, notes, and snippets.

@xia0chun
Created January 9, 2014 07:43
Show Gist options
  • Save xia0chun/8330771 to your computer and use it in GitHub Desktop.
Save xia0chun/8330771 to your computer and use it in GitHub Desktop.
soup = BeautifulSoup(urllib2.urlopen("http://zhuti.xiaomi.com/compound?page=1&sort=New").read())
for thumb in soup.findAll("div", {"class" : "thumb"}):
print thumb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment