#coding:utf-8import urllibimport timeurl = ['']*350page = 1link = 1while page <= 7: con = urllib.urlopen('http://blog.sina.com.cn/s/articlelist_1191258123_0_'+str(page)+'.html').read() i = 0 title = con.find(r'
本文共 268 字,大约阅读时间需要 1 分钟。
#coding:utf-8import urllibimport timeurl = ['']*350page = 1link = 1while page <= 7: con = urllib.urlopen('http://blog.sina.com.cn/s/articlelist_1191258123_0_'+str(page)+'.html').read() i = 0 title = con.find(r'
转载于:https://www.cnblogs.com/XDJjy/p/5426510.html