2013年1月8日

豆瓣用户相册批量下载

摘要: 很简单的python代码,用BeautifuleSoup会简洁一点,不过就当练习一下正则表达式吧# -*- coding:utf-8 -*- #!/usr/bin/env python__revision__ = '0.1'import reimport osimport urllibimport string,timedef get_html_data(url): try: html=urllib.urlopen(url) data=html.read() except: data='' return datadef downloa... 阅读全文

posted @ 2013-01-08 12:51 long0x0 阅读(250) 评论(0) 推荐(0) 编辑

豆瓣用户相册批量下载

摘要: 很简单的python代码,用BeautifuleSoup会简洁一点,不过就当练习一下正则表达式吧,# -*- coding:utf-8 -*- #!/usr/bin/env python__revision__ = '0.1'import reimport osimport urllibimport string,timedef get_html_data(url): try: html=urllib.urlopen(url) data=html.read() except: data='' return datadef downlo... 阅读全文

posted @ 2013-01-08 12:23 long0x0 阅读(130) 评论(0) 推荐(0) 编辑

导航