Created
January 9, 2014 07:43
-
-
Save xia0chun/8330771 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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