博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
慕课爬虫实战 爬取百度百科Python词条相关1000个页面数据
阅读量:6587 次
发布时间:2019-06-24

本文共 57296 字,大约阅读时间需要 190 分钟。

 

spider_main.py

1 #!/usr/bin/python 2 # coding=utf-8 3  4 #from baike_spider import url_manager,html_downloader,html_parser,html_outputer 5 import url_manager,html_downloader,html_parser,html_outputer 6  7 class SpiderMain(object): 8     """docstring for SpiderMain""" 9     def __init__(self):10         self.urls = url_manager.UrlManager()11         self.downloader = html_downloader.HtmlDownloader()12         self.parser = html_parser.HtmlParser()13         self.outputer = html_outputer.HtmlOutputer()14 15     def craw(self,root_url):16         count = 117         self.urls.add_new_url(root_url)18         #如果管理器中有url, 下载,解析,把解析出的url放入 管理器,有用内容放入 收集器19         while  self.urls.has_new_url():20             try:21                 new_url = self.urls.get_new_url()22                 print 'craw %d : %s' % (count, new_url)23                 html_cont = self.downloader.download(new_url)24                 new_urls, new_data = self.parser.parser(new_url, html_cont)25                 self.urls.add_new_urls(new_urls)26                 self.outputer.collect_data(new_data)27 28                 if count == 1000:29                     break30                 count = count + 131             except:32                 print 'craw failed'33         self.outputer.output_html()34 35 if __name__ == "__main__":36     root_url = "http://baike.baidu.com/view/21087.htm"37     obj_spider = SpiderMain()38     obj_spider.craw(root_url)

 

url_manager.py

1 #!/usr/bin/python 2 # coding=utf-8 3  4 class UrlManager(object): 5     """docstring for UrlManager""" 6     def __init__(self): 7         self.new_urls = set() 8         self.old_urls = set() 9 10     def add_new_url(self, url):11         if url is None:12             return13         if url not in self.new_urls and url not in self.old_urls:14             self.new_urls.add(url)15             16     def add_new_urls(self, urls):17         if urls is None or len(urls) == 0:18             return19         for url in urls:20             self.add_new_url(url)21 22     def has_new_url(self):23         return len(self.new_urls) != 024 25     def get_new_url(self):26         #pop, 从set中拿一个并移除27         new_url = self.new_urls.pop()28         self.old_urls.add(new_url)29         return new_url

 

html_downloader.py

1 #!/usr/bin/python 2 # coding=utf-8 3  4 import urllib2 5  6 class HtmlDownloader(object): 7     """docstring for HtmlDownloader""" 8     def __init__(self): 9         pass10 11     def download(self, url):12         if url is None:13             return None14 15         response = urllib2.urlopen(url)16         #print response.getcode()17 18         if response.getcode() != 200:19             return None20 21         return response.read()

 

html_parser.py

1 #!/usr/bin/python 2 # coding=utf-8 3  4 from bs4 import BeautifulSoup 5 import re 6 import urlparse 7  8 class HtmlParser(object): 9     """docstring for HtmlParser"""10     def __init__(self):11         pass12 13     def parser(self, page_url, html_cont):14         #print page_url15         if page_url is None or html_cont is None:16             return17 18         soup = BeautifulSoup(html_cont, 'html.parser', from_encoding = 'utf-8')19         new_urls = self._get_new_urls(page_url, soup)20         new_data = self._get_new_data(page_url, soup)21         return new_urls, new_data22 23     def _get_new_urls(self, page_url, soup):24         # /view/数字.htm25         # such as /view/123.htm26         new_urls = set()27         links = soup.find_all('a', href = re.compile(r"/view/\d+\.htm"))28         for link in links:29             new_url = link['href']30             #print new_url31             #安装page_url 的格式,把new_url补全32             new_full_url = urlparse.urljoin(page_url, new_url)33             new_urls.add(new_full_url)34             #print new_full_url35         return new_urls36 37     def _get_new_data(self, page_url, soup):38         res_data = {}   #字典39 40         # url41         res_data['url'] = page_url42         #
43 #

Python

44 title_node = soup.find('dd', class_= "lemmaWgt-lemmaTitle-title").find("h1")45 res_data['title'] = title_node.get_text()46 47 #
48 summary_node = soup.find('div', class_= "lemma-summary")49 res_data['summary'] = summary_node.get_text()50 51 return res_data

 

html_outputer.py (此处会出现 中文乱码

1 #!/usr/bin/python 2 # coding=utf-8 3  4 class HtmlOutputer(object): 5     """docstring for HtmlOutputer""" 6     def __init__(self): 7         self.datas = [] 8  9     def collect_data(self, data):10         if data is None:11             return12         self.datas.append(data)13 14     def output_html(self):15         fout = open('output.html', 'w')16 17         fout.write("")18         fout.write("")19         fout.write("
")20 21 # python 默认 ascii22 for data in self.datas:23 fout.write("
")24 fout.write("
" % data['url'])25 fout.write("
" % data['title'].encode('utf-8'))26 fout.write("
" % data['summary'].encode('utf-8'))27 fout.write("
")28 29 fout.write("
%s %s %s
")30 fout.write("")31 fout.write("")32 33 fout.close()

 

log:

craw 1 : http://baike.baidu.com/view/21087.htmcraw 2 : http://baike.baidu.com/view/16068.htmcraw 3 : http://baike.baidu.com/view/53557.htmcraw 4 : http://baike.baidu.com/view/10812277.htmcraw 5 : http://baike.baidu.com/view/32571.htmcraw 6 : http://baike.baidu.com/view/757238.htmcraw 7 : http://baike.baidu.com/view/2888099.htmcraw 8 : http://baike.baidu.com/view/1369367.htmcraw 9 : http://baike.baidu.com/view/737.htmcraw 10 : http://baike.baidu.com/view/38648.htmcraw 11 : http://baike.baidu.com/view/230750.htmcraw 12 : http://baike.baidu.com/view/560583.htmcraw 13 : http://baike.baidu.com/view/902.htmcraw 14 : http://baike.baidu.com/view/18979.htmcraw 15 : http://baike.baidu.com/view/1158766.htmcraw 16 : http://baike.baidu.com/view/7977.htmcraw 17 : http://baike.baidu.com/view/1298929.htmcraw 18 : http://baike.baidu.com/view/642401.htmcraw 19 : http://baike.baidu.com/view/52940.htmcraw 20 : http://baike.baidu.com/view/449909.htmcraw 21 : http://baike.baidu.com/view/1703315.htmcraw 22 : http://baike.baidu.com/view/330120.htmcraw 23 : http://baike.baidu.com/view/120466.htmcraw 24 : http://baike.baidu.com/view/3593.htmcraw 25 : http://baike.baidu.com/view/37878.htmcraw 26 : http://baike.baidu.com/view/1882668.htmcraw 27 : http://baike.baidu.com/view/8439.htmcraw 28 : http://baike.baidu.com/view/8202227.htmcraw 29 : http://baike.baidu.com/view/10249166.htmcraw 30 : http://baike.baidu.com/view/1165.htmcraw 31 : http://baike.baidu.com/view/1768.htmcraw 32 : http://baike.baidu.com/view/1401824.htmcraw 33 : http://baike.baidu.com/view/185360.htmcraw 34 : http://baike.baidu.com/view/2993364.htmcraw 35 : http://baike.baidu.com/view/6115.htmcraw 36 : http://baike.baidu.com/view/46614.htmcraw 37 : http://baike.baidu.com/view/10090.htmcraw 38 : http://baike.baidu.com/view/1012.htmcraw 39 : http://baike.baidu.com/view/1090732.htmcraw 40 : http://baike.baidu.com/view/6561.htmcraw 41 : http://baike.baidu.com/view/190232.htmcraw 42 : http://baike.baidu.com/view/7124722.htmcraw 43 : http://baike.baidu.com/view/53593.htmcraw 44 : http://baike.baidu.com/view/3111535.htmcraw 45 : http://baike.baidu.com/view/8241.htmcraw 46 : http://baike.baidu.com/view/9890.htmcraw 47 : http://baike.baidu.com/view/2936980.htmcraw 48 : http://baike.baidu.com/view/4560575.htmcraw 49 : http://baike.baidu.com/view/8225845.htmcraw 50 : http://baike.baidu.com/view/422555.htmcraw 51 : http://baike.baidu.com/view/67568.htmcraw 52 : http://baike.baidu.com/view/1227765.htmcraw 53 : http://baike.baidu.com/view/253148.htmcraw 54 : http://baike.baidu.com/view/1159631.htmcraw 55 : http://baike.baidu.com/view/93758.htmcraw 56 : http://baike.baidu.com/view/238412.htmcraw 57 : http://baike.baidu.com/view/2773.htmcraw 58 : http://baike.baidu.com/view/822073.htmcraw 59 : http://baike.baidu.com/view/1265502.htmcraw 60 : http://baike.baidu.com/view/1127713.htmcraw 61 : http://baike.baidu.com/view/2422838.htmcraw 62 : http://baike.baidu.com/view/1309799.htmcraw 63 : http://baike.baidu.com/view/18806.htmcraw 64 : http://baike.baidu.com/view/4992984.htmcraw 65 : http://baike.baidu.com/view/3342115.htmcraw 66 : http://baike.baidu.com/view/7487.htmcraw 67 : http://baike.baidu.com/view/10102.htmcraw 68 : http://baike.baidu.com/view/9786653.htmcraw 69 : http://baike.baidu.com/view/938916.htmcraw 70 : http://baike.baidu.com/view/4556.htmcraw 71 : http://baike.baidu.com/view/3581.htmcraw 72 : http://baike.baidu.com/view/98997.htmcraw 73 : http://baike.baidu.com/view/340519.htmcraw 74 : http://baike.baidu.com/view/189766.htmcraw 75 : http://baike.baidu.com/view/417523.htmcraw 76 : http://baike.baidu.com/view/969420.htmcraw 77 : http://baike.baidu.com/view/287544.htmcraw 78 : http://baike.baidu.com/view/137833.htmcraw 79 : http://baike.baidu.com/view/482211.htmcraw 80 : http://baike.baidu.com/view/1369720.htmcraw 81 : http://baike.baidu.com/view/761171.htmcraw 82 : http://baike.baidu.com/view/15113.htmcraw 83 : http://baike.baidu.com/view/53593.htm?force=1craw failedcraw 83 : http://baike.baidu.com/view/140372.htmcraw 84 : http://baike.baidu.com/view/34240.htmcraw 85 : http://baike.baidu.com/view/907.htmcraw 86 : http://baike.baidu.com/view/2213220.htmcraw 87 : http://baike.baidu.com/view/60734.htmcraw 88 : http://baike.baidu.com/view/13621.htmcraw 89 : http://baike.baidu.com/view/303553.htmcraw 90 : http://baike.baidu.com/view/1768205.htmcraw 91 : http://baike.baidu.com/view/1304004.htmcraw 92 : http://baike.baidu.com/view/1010007.htmcraw 93 : http://baike.baidu.com/view/432379.htmcraw 94 : http://baike.baidu.com/view/113905.htmcraw 95 : http://baike.baidu.com/view/3261842.htmcraw 96 : http://baike.baidu.com/view/409893.htmcraw 97 : http://baike.baidu.com/view/148176.htmcraw 98 : http://baike.baidu.com/view/798022.htmcraw 99 : http://baike.baidu.com/view/20701.htmcraw 100 : http://baike.baidu.com/view/35595.htmcraw 101 : http://baike.baidu.com/view/23160.htmcraw 102 : http://baike.baidu.com/view/7935119.htmcraw 103 : http://baike.baidu.com/view/3460.htmcraw 104 : http://baike.baidu.com/view/3034790.htmcraw 105 : http://baike.baidu.com/view/1346092.htmcraw 106 : http://baike.baidu.com/view/3624172.htmcraw 107 : http://baike.baidu.com/view/80305.htmcraw 108 : http://baike.baidu.com/view/1964086.htmcraw 109 : http://baike.baidu.com/view/20965.htmcraw 110 : http://baike.baidu.com/view/8206.htmcraw 111 : http://baike.baidu.com/view/1949.htmcraw failedcraw 111 : http://baike.baidu.com/view/486335.htmcraw 112 : http://baike.baidu.com/view/23706.htmcraw 113 : http://baike.baidu.com/view/292691.htmcraw 114 : http://baike.baidu.com/view/18192.htmcraw 115 : http://baike.baidu.com/view/65250.htmcraw 116 : http://baike.baidu.com/view/1633662.htmcraw 117 : http://baike.baidu.com/view/7836.htmcraw 118 : http://baike.baidu.com/view/216701.htmcraw 119 : http://baike.baidu.com/view/2027.htmcraw 120 : http://baike.baidu.com/view/393091.htmcraw 121 : http://baike.baidu.com/view/121167.htmcraw 122 : http://baike.baidu.com/view/137145.htmcraw 123 : http://baike.baidu.com/view/78724.htmcraw 124 : http://baike.baidu.com/view/16381.htmcraw 125 : http://baike.baidu.com/view/406130.htmcraw 126 : http://baike.baidu.com/view/122047.htmcraw 127 : http://baike.baidu.com/view/19655.htmcraw 128 : http://baike.baidu.com/view/1313694.htmcraw 129 : http://baike.baidu.com/view/2241762.htmcraw 130 : http://baike.baidu.com/view/111680.htmcraw 131 : http://baike.baidu.com/view/1106940.htmcraw 132 : http://baike.baidu.com/view/749940.htmcraw 133 : http://baike.baidu.com/view/574700.htmcraw 134 : http://baike.baidu.com/view/15202589.htmcraw 135 : http://baike.baidu.com/view/14845756.htmcraw 136 : http://baike.baidu.com/view/67007.htmcraw 137 : http://baike.baidu.com/view/67700.htmcraw 138 : http://baike.baidu.com/view/190556.htmcraw 139 : http://baike.baidu.com/view/608098.htmcraw 140 : http://baike.baidu.com/view/2971065.htmcraw 141 : http://baike.baidu.com/view/117631.htmcraw 142 : http://baike.baidu.com/view/1769772.htmcraw 143 : http://baike.baidu.com/view/3195275.htmcraw 144 : http://baike.baidu.com/view/910520.htmcraw 145 : http://baike.baidu.com/view/675822.htmcraw 146 : http://baike.baidu.com/view/13560.htmcraw 147 : http://baike.baidu.com/view/15641.htmcraw 148 : http://baike.baidu.com/view/7692.htmcraw 149 : http://baike.baidu.com/view/6618166.htmcraw 150 : http://baike.baidu.com/view/2110805.htmcraw 151 : http://baike.baidu.com/view/825271.htmcraw 152 : http://baike.baidu.com/view/9226.htmcraw 153 : http://baike.baidu.com/view/264107.htmcraw 154 : http://baike.baidu.com/view/569005.htmcraw 155 : http://baike.baidu.com/view/217618.htmcraw 156 : http://baike.baidu.com/view/189071.htmcraw 157 : http://baike.baidu.com/view/1780613.htmcraw 158 : http://baike.baidu.com/view/237729.htmcraw 159 : http://baike.baidu.com/view/404417.htmcraw 160 : http://baike.baidu.com/view/1300345.htmcraw 161 : http://baike.baidu.com/view/3344032.htmcraw 162 : http://baike.baidu.com/view/179652.htmcraw 163 : http://baike.baidu.com/view/170331.htmcraw 164 : http://baike.baidu.com/view/3212355.htmcraw 165 : http://baike.baidu.com/view/332791.htmcraw 166 : http://baike.baidu.com/view/18554.htmcraw 167 : http://baike.baidu.com/view/94764.htmcraw 168 : http://baike.baidu.com/view/359301.htmcraw 169 : http://baike.baidu.com/view/9319.htmcraw 170 : http://baike.baidu.com/view/63422.htmcraw 171 : http://baike.baidu.com/view/488704.htmcraw 172 : http://baike.baidu.com/view/489790.htmcraw 173 : http://baike.baidu.com/view/74745.htmcraw 174 : http://baike.baidu.com/view/2894153.htmcraw 175 : http://baike.baidu.com/view/357490.htmcraw 176 : http://baike.baidu.com/view/68974.htmcraw 177 : http://baike.baidu.com/view/21184.htmcraw 178 : http://baike.baidu.com/view/116771.htmcraw 179 : http://baike.baidu.com/view/8439.htm?force=1craw failedcraw 179 : http://baike.baidu.com/view/1206943.htmcraw 180 : http://baike.baidu.com/view/8625.htmcraw 181 : http://baike.baidu.com/view/589573.htmcraw 182 : http://baike.baidu.com/view/566308.htmcraw 183 : http://baike.baidu.com/view/144228.htmcraw 184 : http://baike.baidu.com/view/1645568.htmcraw 185 : http://baike.baidu.com/view/2608.htmcraw 186 : http://baike.baidu.com/view/4963655.htmcraw 187 : http://baike.baidu.com/view/33292.htmcraw 188 : http://baike.baidu.com/view/1261670.htmcraw 189 : http://baike.baidu.com/view/87626.htmcraw 190 : http://baike.baidu.com/view/351068.htmcraw 191 : http://baike.baidu.com/view/889.htmcraw 192 : http://baike.baidu.com/view/28761.htmcraw 193 : http://baike.baidu.com/view/1541925.htmcraw 194 : http://baike.baidu.com/view/36522.htmcraw 195 : http://baike.baidu.com/view/1066153.htmcraw 196 : http://baike.baidu.com/view/1174786.htmcraw 197 : http://baike.baidu.com/view/49933.htmcraw 198 : http://baike.baidu.com/view/6340845.htmcraw 199 : http://baike.baidu.com/view/100904.htmcraw 200 : http://baike.baidu.com/view/32834.htmcraw 201 : http://baike.baidu.com/view/1372797.htmcraw 202 : http://baike.baidu.com/view/1310856.htmcraw 203 : http://baike.baidu.com/view/404295.htmcraw failedcraw 203 : http://baike.baidu.com/view/3622.htmcraw 204 : http://baike.baidu.com/view/1609682.htmcraw 205 : http://baike.baidu.com/view/1443416.htmcraw 206 : http://baike.baidu.com/view/6340.htmcraw 207 : http://baike.baidu.com/view/142998.htmcraw 208 : http://baike.baidu.com/view/285484.htmcraw 209 : http://baike.baidu.com/view/4440938.htmcraw 210 : http://baike.baidu.com/view/122700.htmcraw 211 : http://baike.baidu.com/view/159303.htmcraw 212 : http://baike.baidu.com/view/709787.htmcraw 213 : http://baike.baidu.com/view/592912.htmcraw 214 : http://baike.baidu.com/view/45308.htmcraw 215 : http://baike.baidu.com/view/546.htmcraw 216 : http://baike.baidu.com/view/80015.htmcraw 217 : http://baike.baidu.com/view/29564.htmcraw 218 : http://baike.baidu.com/view/241977.htmcraw 219 : http://baike.baidu.com/view/1094346.htmcraw 220 : http://baike.baidu.com/view/3588285.htmcraw 221 : http://baike.baidu.com/view/19430.htmcraw 222 : http://baike.baidu.com/view/66794.htmcraw 223 : http://baike.baidu.com/view/11782701.htmcraw 224 : http://baike.baidu.com/view/289681.htmcraw 225 : http://baike.baidu.com/view/423240.htmcraw 226 : http://baike.baidu.com/view/37703.htmcraw 227 : http://baike.baidu.com/view/43898.htmcraw 228 : http://baike.baidu.com/view/46184.htmcraw 229 : http://baike.baidu.com/view/2676492.htmcraw 230 : http://baike.baidu.com/view/78504.htmcraw 231 : http://baike.baidu.com/view/18650.htmcraw 232 : http://baike.baidu.com/view/88420.htmcraw 233 : http://baike.baidu.com/view/41435.htmcraw 234 : http://baike.baidu.com/view/132672.htmcraw 235 : http://baike.baidu.com/view/710798.htmcraw 236 : http://baike.baidu.com/view/1383707.htmcraw 237 : http://baike.baidu.com/view/312759.htmcraw 238 : http://baike.baidu.com/view/779344.htmcraw 239 : http://baike.baidu.com/view/6997.htmcraw 240 : http://baike.baidu.com/view/101527.htmcraw 241 : http://baike.baidu.com/view/11653292.htmcraw 242 : http://baike.baidu.com/view/71101.htmcraw 243 : http://baike.baidu.com/view/1307135.htmcraw 244 : http://baike.baidu.com/view/574686.htmcraw 245 : http://baike.baidu.com/view/149416.htmcraw 246 : http://baike.baidu.com/view/4372117.htmcraw 247 : http://baike.baidu.com/view/71792.htmcraw 248 : http://baike.baidu.com/view/2187861.htmcraw 249 : http://baike.baidu.com/view/274765.htmcraw 250 : http://baike.baidu.com/view/2052719.htmcraw 251 : http://baike.baidu.com/view/4245866.htmcraw 252 : http://baike.baidu.com/view/101480.htmcraw 253 : http://baike.baidu.com/view/600107.htmcraw 254 : http://baike.baidu.com/view/409891.htmcraw 255 : http://baike.baidu.com/view/18869.htmcraw 256 : http://baike.baidu.com/view/1063549.htmcraw 257 : http://baike.baidu.com/view/2086457.htmcraw 258 : http://baike.baidu.com/view/3715262.htmcraw 259 : http://baike.baidu.com/view/24984.htmcraw 260 : http://baike.baidu.com/view/89452.htmcraw 261 : http://baike.baidu.com/view/6683.htmcraw 262 : http://baike.baidu.com/view/3474.htmcraw 263 : http://baike.baidu.com/view/550915.htmcraw 264 : http://baike.baidu.com/view/80142.htmcraw 265 : http://baike.baidu.com/view/249084.htmcraw 266 : http://baike.baidu.com/view/567894.htmcraw 267 : http://baike.baidu.com/view/7974045.htmcraw 268 : http://baike.baidu.com/view/562547.htmcraw 269 : http://baike.baidu.com/view/148537.htmcraw 270 : http://baike.baidu.com/view/3081394.htmcraw 271 : http://baike.baidu.com/view/1296507.htmcraw 272 : http://baike.baidu.com/view/1215449.htmcraw 273 : http://baike.baidu.com/view/4220534.htmcraw 274 : http://baike.baidu.com/view/552298.htmcraw 275 : http://baike.baidu.com/view/28270.htmcraw 276 : http://baike.baidu.com/view/369515.htmcraw 277 : http://baike.baidu.com/view/941857.htmcraw 278 : http://baike.baidu.com/view/873573.htmcraw 279 : http://baike.baidu.com/view/189818.htmcraw 280 : http://baike.baidu.com/view/207775.htmcraw 281 : http://baike.baidu.com/view/30049.htmcraw 282 : http://baike.baidu.com/view/291195.htmcraw 283 : http://baike.baidu.com/view/94667.htmcraw 284 : http://baike.baidu.com/view/214618.htmcraw 285 : http://baike.baidu.com/view/5093.htmcraw 286 : http://baike.baidu.com/view/4723.htmcraw 287 : http://baike.baidu.com/view/21971.htmcraw 288 : http://baike.baidu.com/view/4981.htmcraw 289 : http://baike.baidu.com/view/163.htmcraw 290 : http://baike.baidu.com/view/161381.htmcraw 291 : http://baike.baidu.com/view/306550.htmcraw 292 : http://baike.baidu.com/view/3710530.htmcraw 293 : http://baike.baidu.com/view/346799.htmcraw 294 : http://baike.baidu.com/view/2332455.htmcraw 295 : http://baike.baidu.com/view/1346016.htmcraw 296 : http://baike.baidu.com/view/34163.htmcraw 297 : http://baike.baidu.com/view/1040178.htmcraw 298 : http://baike.baidu.com/view/132820.htmcraw 299 : http://baike.baidu.com/view/1170461.htmcraw 300 : http://baike.baidu.com/view/206889.htmcraw 301 : http://baike.baidu.com/view/358623.htmcraw 302 : http://baike.baidu.com/view/6833490.htmcraw 303 : http://baike.baidu.com/view/521403.htmcraw 304 : http://baike.baidu.com/view/168039.htmcraw 305 : http://baike.baidu.com/view/624287.htmcraw 306 : http://baike.baidu.com/view/3669232.htmcraw 307 : http://baike.baidu.com/view/725411.htmcraw 308 : http://baike.baidu.com/view/1776829.htmcraw 309 : http://baike.baidu.com/view/6711967.htmcraw 310 : http://baike.baidu.com/view/229466.htmcraw 311 : http://baike.baidu.com/view/4895945.htmcraw 312 : http://baike.baidu.com/view/1708047.htmcraw 313 : http://baike.baidu.com/view/1032826.htmcraw 314 : http://baike.baidu.com/view/223917.htmcraw 315 : http://baike.baidu.com/view/58612.htmcraw 316 : http://baike.baidu.com/view/364718.htmcraw 317 : http://baike.baidu.com/view/1553010.htmcraw 318 : http://baike.baidu.com/view/40073.htmcraw 319 : http://baike.baidu.com/view/10108.htmcraw 320 : http://baike.baidu.com/view/62180.htmcraw 321 : http://baike.baidu.com/view/1689.htmcraw 322 : http://baike.baidu.com/view/854461.htmcraw 323 : http://baike.baidu.com/view/940627.htmcraw 324 : http://baike.baidu.com/view/2359457.htmcraw 325 : http://baike.baidu.com/view/8222.htmcraw 326 : http://baike.baidu.com/view/154898.htmcraw 327 : http://baike.baidu.com/view/3247896.htmcraw 328 : http://baike.baidu.com/view/615014.htmcraw 329 : http://baike.baidu.com/view/21220.htmcraw 330 : http://baike.baidu.com/view/847698.htmcraw 331 : http://baike.baidu.com/view/2552483.htmcraw 332 : http://baike.baidu.com/view/446276.htmcraw 333 : http://baike.baidu.com/view/42510.htmcraw 334 : http://baike.baidu.com/view/9515579.htmcraw 335 : http://baike.baidu.com/view/3440211.htmcraw 336 : http://baike.baidu.com/view/6654.htmcraw 337 : http://baike.baidu.com/view/852359.htmcraw 338 : http://baike.baidu.com/view/933483.htmcraw 339 : http://baike.baidu.com/view/36759.htmcraw 340 : http://baike.baidu.com/view/1856605.htmcraw 341 : http://baike.baidu.com/view/1564035.htmcraw 342 : http://baike.baidu.com/view/2940349.htmcraw 343 : http://baike.baidu.com/view/953642.htmcraw 344 : http://baike.baidu.com/view/10537.htmcraw 345 : http://baike.baidu.com/view/441484.htmcraw 346 : http://baike.baidu.com/view/1497437.htmcraw 347 : http://baike.baidu.com/view/813231.htmcraw 348 : http://baike.baidu.com/view/7899247.htmcraw 349 : http://baike.baidu.com/view/27253.htmcraw 350 : http://baike.baidu.com/view/880846.htmcraw 351 : http://baike.baidu.com/view/74271.htmcraw 352 : http://baike.baidu.com/view/147943.htmcraw 353 : http://baike.baidu.com/view/3830.htmcraw 354 : http://baike.baidu.com/view/210252.htmcraw 355 : http://baike.baidu.com/view/23985.htmcraw 356 : http://baike.baidu.com/view/117233.htmcraw 357 : http://baike.baidu.com/view/3794034.htmcraw 358 : http://baike.baidu.com/view/195371.htmcraw 359 : http://baike.baidu.com/view/723571.htmcraw 360 : http://baike.baidu.com/view/15147985.htmcraw 361 : http://baike.baidu.com/view/1298974.htmcraw 362 : http://baike.baidu.com/view/20658.htmcraw 363 : http://baike.baidu.com/view/45333.htmcraw 364 : http://baike.baidu.com/view/26607.htmcraw 365 : http://baike.baidu.com/view/494962.htmcraw 366 : http://baike.baidu.com/view/483302.htmcraw 367 : http://baike.baidu.com/view/416875.htmcraw 368 : http://baike.baidu.com/view/37814.htmcraw 369 : http://baike.baidu.com/view/2760.htmcraw 370 : http://baike.baidu.com/view/21959.htmcraw 371 : http://baike.baidu.com/view/1685140.htmcraw 372 : http://baike.baidu.com/view/1914.htmcraw 373 : http://baike.baidu.com/view/191224.htmcraw 374 : http://baike.baidu.com/view/474547.htmcraw 375 : http://baike.baidu.com/view/71793.htmcraw 376 : http://baike.baidu.com/view/1689.htm?force=1craw failedcraw 376 : http://baike.baidu.com/view/3740105.htmcraw 377 : http://baike.baidu.com/view/1526467.htmcraw 378 : http://baike.baidu.com/view/109721.htmcraw 379 : http://baike.baidu.com/view/47722.htmcraw 380 : http://baike.baidu.com/view/390088.htmcraw 381 : http://baike.baidu.com/view/26400.htmcraw 382 : http://baike.baidu.com/view/7942745.htmcraw 383 : http://baike.baidu.com/view/959239.htmcraw 384 : http://baike.baidu.com/view/35719.htmcraw 385 : http://baike.baidu.com/view/443551.htmcraw 386 : http://baike.baidu.com/view/303713.htmcraw 387 : http://baike.baidu.com/view/1307896.htmcraw 388 : http://baike.baidu.com/view/294909.htmcraw 389 : http://baike.baidu.com/view/2430624.htmcraw 390 : http://baike.baidu.com/view/14589859.htmcraw 391 : http://baike.baidu.com/view/13744528.htmcraw 392 : http://baike.baidu.com/view/159171.htmcraw 393 : http://baike.baidu.com/view/14140.htmcraw 394 : http://baike.baidu.com/view/77570.htmcraw 395 : http://baike.baidu.com/view/1070557.htmcraw 396 : http://baike.baidu.com/view/560222.htmcraw 397 : http://baike.baidu.com/view/4960.htmcraw 398 : http://baike.baidu.com/view/36836.htmcraw 399 : http://baike.baidu.com/view/37550.htmcraw 400 : http://baike.baidu.com/view/1565.htmcraw 401 : http://baike.baidu.com/view/602315.htmcraw 402 : http://baike.baidu.com/view/880103.htmcraw 403 : http://baike.baidu.com/view/956.htmcraw 404 : http://baike.baidu.com/view/204970.htmcraw 405 : http://baike.baidu.com/view/390583.htmcraw 406 : http://baike.baidu.com/view/302307.htmcraw 407 : http://baike.baidu.com/view/1052759.htmcraw 408 : http://baike.baidu.com/view/171250.htmcraw 409 : http://baike.baidu.com/view/274162.htmcraw 410 : http://baike.baidu.com/view/1210491.htmcraw 411 : http://baike.baidu.com/view/74493.htmcraw 412 : http://baike.baidu.com/view/7004159.htmcraw 413 : http://baike.baidu.com/view/53376.htmcraw 414 : http://baike.baidu.com/view/233100.htmcraw 415 : http://baike.baidu.com/view/29999.htmcraw 416 : http://baike.baidu.com/view/432089.htmcraw 417 : http://baike.baidu.com/view/894260.htmcraw 418 : http://baike.baidu.com/view/1015260.htmcraw 419 : http://baike.baidu.com/view/675970.htmcraw 420 : http://baike.baidu.com/view/636395.htmcraw 421 : http://baike.baidu.com/view/7119433.htmcraw 422 : http://baike.baidu.com/view/179090.htmcraw 423 : http://baike.baidu.com/view/31249.htmcraw 424 : http://baike.baidu.com/view/5793.htmcraw 425 : http://baike.baidu.com/view/888312.htmcraw 426 : http://baike.baidu.com/view/2438591.htmcraw 427 : http://baike.baidu.com/view/293860.htmcraw 428 : http://baike.baidu.com/view/920855.htmcraw 429 : http://baike.baidu.com/view/64183.htmcraw 430 : http://baike.baidu.com/view/1992225.htmcraw 431 : http://baike.baidu.com/view/8497874.htmcraw 432 : http://baike.baidu.com/view/4591.htmcraw 433 : http://baike.baidu.com/view/25435.htmcraw 434 : http://baike.baidu.com/view/41321.htmcraw 435 : http://baike.baidu.com/view/2053930.htmcraw 436 : http://baike.baidu.com/view/1496782.htmcraw 437 : http://baike.baidu.com/view/305588.htmcraw 438 : http://baike.baidu.com/view/5936045.htmcraw 439 : http://baike.baidu.com/view/999833.htmcraw 440 : http://baike.baidu.com/view/6565257.htmcraw 441 : http://baike.baidu.com/view/48726.htmcraw 442 : http://baike.baidu.com/view/3453016.htmcraw 443 : http://baike.baidu.com/view/2557460.htmcraw 444 : http://baike.baidu.com/view/802757.htmcraw 445 : http://baike.baidu.com/view/7967.htmcraw 446 : http://baike.baidu.com/view/2639413.htmcraw 447 : http://baike.baidu.com/view/81293.htmcraw 448 : http://baike.baidu.com/view/64179.htmcraw 449 : http://baike.baidu.com/view/82466.htmcraw 450 : http://baike.baidu.com/view/33391.htmcraw 451 : http://baike.baidu.com/view/938780.htmcraw 452 : http://baike.baidu.com/view/5410625.htmcraw 453 : http://baike.baidu.com/view/40164.htmcraw 454 : http://baike.baidu.com/view/502623.htmcraw 455 : http://baike.baidu.com/view/2362012.htmcraw 456 : http://baike.baidu.com/view/2975910.htmcraw 457 : http://baike.baidu.com/view/6021158.htmcraw 458 : http://baike.baidu.com/view/37412.htmcraw 459 : http://baike.baidu.com/view/1593538.htmcraw 460 : http://baike.baidu.com/view/71687.htmcraw 461 : http://baike.baidu.com/view/3230.htmcraw 462 : http://baike.baidu.com/view/1520474.htmcraw 463 : http://baike.baidu.com/view/26839.htmcraw 464 : http://baike.baidu.com/view/133316.htmcraw 465 : http://baike.baidu.com/view/129261.htmcraw 466 : http://baike.baidu.com/view/78504.htm?force=1craw failedcraw 466 : http://baike.baidu.com/view/1769413.htmcraw 467 : http://baike.baidu.com/view/828867.htmcraw failedcraw 467 : http://baike.baidu.com/view/1596573.htmcraw 468 : http://baike.baidu.com/view/2578280.htmcraw 469 : http://baike.baidu.com/view/563790.htmcraw 470 : http://baike.baidu.com/view/510282.htmcraw 471 : http://baike.baidu.com/view/3180364.htmcraw 472 : http://baike.baidu.com/view/10950862.htmcraw 473 : http://baike.baidu.com/view/4974089.htmcraw 474 : http://baike.baidu.com/view/2053679.htmcraw 475 : http://baike.baidu.com/view/1267536.htmcraw 476 : http://baike.baidu.com/view/65649.htmcraw 477 : http://baike.baidu.com/view/543084.htmcraw 478 : http://baike.baidu.com/view/1958670.htmcraw 479 : http://baike.baidu.com/view/2743188.htmcraw 480 : http://baike.baidu.com/view/135809.htmcraw 481 : http://baike.baidu.com/view/285172.htmcraw 482 : http://baike.baidu.com/view/35661.htmcraw 483 : http://baike.baidu.com/view/7923082.htmcraw 484 : http://baike.baidu.com/view/10870540.htmcraw 485 : http://baike.baidu.com/view/7034.htmcraw 486 : http://baike.baidu.com/view/2952944.htmcraw 487 : http://baike.baidu.com/view/11774919.htmcraw 488 : http://baike.baidu.com/view/22033.htmcraw 489 : http://baike.baidu.com/view/399983.htmcraw 490 : http://baike.baidu.com/view/72967.htmcraw 491 : http://baike.baidu.com/view/551398.htmcraw 492 : http://baike.baidu.com/view/247097.htmcraw 493 : http://baike.baidu.com/view/363789.htmcraw 494 : http://baike.baidu.com/view/2180988.htmcraw 495 : http://baike.baidu.com/view/1070553.htmcraw 496 : http://baike.baidu.com/view/531247.htmcraw 497 : http://baike.baidu.com/view/247033.htmcraw 498 : http://baike.baidu.com/view/1304533.htmcraw 499 : http://baike.baidu.com/view/818225.htmcraw 500 : http://baike.baidu.com/view/5289556.htmcraw 501 : http://baike.baidu.com/view/77495.htmcraw 502 : http://baike.baidu.com/view/35995.htmcraw 503 : http://baike.baidu.com/view/381505.htmcraw 504 : http://baike.baidu.com/view/2528713.htmcraw 505 : http://baike.baidu.com/view/89158.htmcraw 506 : http://baike.baidu.com/view/987432.htmcraw 507 : http://baike.baidu.com/view/46420.htmcraw 508 : http://baike.baidu.com/view/604631.htmcraw 509 : http://baike.baidu.com/view/280891.htmcraw 510 : http://baike.baidu.com/view/746295.htmcraw 511 : http://baike.baidu.com/view/400.htmcraw 512 : http://baike.baidu.com/view/392325.htmcraw 513 : http://baike.baidu.com/view/306945.htmcraw 514 : http://baike.baidu.com/view/1145204.htmcraw 515 : http://baike.baidu.com/view/709049.htmcraw 516 : http://baike.baidu.com/view/9822717.htmcraw 517 : http://baike.baidu.com/view/990418.htmcraw 518 : http://baike.baidu.com/view/116024.htmcraw 519 : http://baike.baidu.com/view/571805.htmcraw 520 : http://baike.baidu.com/view/1833325.htmcraw 521 : http://baike.baidu.com/view/83461.htmcraw 522 : http://baike.baidu.com/view/93546.htmcraw 523 : http://baike.baidu.com/view/2375679.htmcraw 524 : http://baike.baidu.com/view/547398.htmcraw 525 : http://baike.baidu.com/view/604160.htmcraw 526 : http://baike.baidu.com/view/634832.htmcraw 527 : http://baike.baidu.com/view/878756.htmcraw 528 : http://baike.baidu.com/view/1333289.htmcraw 529 : http://baike.baidu.com/view/1069189.htmcraw 530 : http://baike.baidu.com/view/2255144.htmcraw failedcraw 530 : http://baike.baidu.com/view/188818.htmcraw 531 : http://baike.baidu.com/view/312489.htmcraw 532 : http://baike.baidu.com/view/29545.htmcraw 533 : http://baike.baidu.com/view/14662.htmcraw 534 : http://baike.baidu.com/view/314691.htmcraw 535 : http://baike.baidu.com/view/69242.htmcraw 536 : http://baike.baidu.com/view/904574.htmcraw 537 : http://baike.baidu.com/view/1968722.htmcraw 538 : http://baike.baidu.com/view/604631.htm?force=1craw failedcraw 538 : http://baike.baidu.com/view/1217602.htmcraw 539 : http://baike.baidu.com/view/21781.htmcraw 540 : http://baike.baidu.com/view/48252.htmcraw 541 : http://baike.baidu.com/view/1782706.htmcraw 542 : http://baike.baidu.com/view/490646.htmcraw 543 : http://baike.baidu.com/view/1522668.htmcraw 544 : http://baike.baidu.com/view/30528.htmcraw 545 : http://baike.baidu.com/view/15342391.htmcraw 546 : http://baike.baidu.com/view/173672.htmcraw 547 : http://baike.baidu.com/view/836237.htmcraw 548 : http://baike.baidu.com/view/285484.htm?force=1craw failedcraw 548 : http://baike.baidu.com/view/194638.htmcraw 549 : http://baike.baidu.com/view/11613295.htmcraw 550 : http://baike.baidu.com/view/880359.htmcraw 551 : http://baike.baidu.com/view/330007.htmcraw 552 : http://baike.baidu.com/view/148021.htmcraw 553 : http://baike.baidu.com/view/961640.htmcraw 554 : http://baike.baidu.com/view/551337.htmcraw 555 : http://baike.baidu.com/view/1009570.htmcraw 556 : http://baike.baidu.com/view/806175.htmcraw 557 : http://baike.baidu.com/view/2438050.htmcraw 558 : http://baike.baidu.com/view/752847.htmcraw 559 : http://baike.baidu.com/view/1137287.htmcraw 560 : http://baike.baidu.com/view/5711088.htmcraw 561 : http://baike.baidu.com/view/5307477.htmcraw 562 : http://baike.baidu.com/view/13973661.htmcraw 563 : http://baike.baidu.com/view/699202.htmcraw 564 : http://baike.baidu.com/view/38554.htmcraw 565 : http://baike.baidu.com/view/15109778.htmcraw 566 : http://baike.baidu.com/view/8162095.htmcraw 567 : http://baike.baidu.com/view/51352.htmcraw 568 : http://baike.baidu.com/view/195862.htmcraw 569 : http://baike.baidu.com/view/415801.htmcraw 570 : http://baike.baidu.com/view/892300.htmcraw 571 : http://baike.baidu.com/view/37280.htmcraw 572 : http://baike.baidu.com/view/393108.htmcraw 573 : http://baike.baidu.com/view/255029.htmcraw 574 : http://baike.baidu.com/view/547864.htmcraw 575 : http://baike.baidu.com/view/1518634.htmcraw 576 : http://baike.baidu.com/view/320533.htmcraw 577 : http://baike.baidu.com/view/437807.htmcraw 578 : http://baike.baidu.com/view/34790.htmcraw 579 : http://baike.baidu.com/view/209521.htmcraw 580 : http://baike.baidu.com/view/1086113.htmcraw 581 : http://baike.baidu.com/view/172427.htmcraw 582 : http://baike.baidu.com/view/2888080.htmcraw 583 : http://baike.baidu.com/view/73455.htmcraw 584 : http://baike.baidu.com/view/6159200.htmcraw 585 : http://baike.baidu.com/view/10159127.htmcraw 586 : http://baike.baidu.com/view/1019427.htmcraw 587 : http://baike.baidu.com/view/285183.htmcraw 588 : http://baike.baidu.com/view/11288993.htmcraw 589 : http://baike.baidu.com/view/354087.htmcraw 590 : http://baike.baidu.com/view/2769.htmcraw 591 : http://baike.baidu.com/view/989422.htmcraw 592 : http://baike.baidu.com/view/624572.htmcraw 593 : http://baike.baidu.com/view/6979179.htmcraw 594 : http://baike.baidu.com/view/3204817.htmcraw 595 : http://baike.baidu.com/view/6128884.htmcraw 596 : http://baike.baidu.com/view/1629883.htmcraw 597 : http://baike.baidu.com/view/157652.htmcraw 598 : http://baike.baidu.com/view/1546705.htmcraw 599 : http://baike.baidu.com/view/8433888.htmcraw 600 : http://baike.baidu.com/view/4469413.htmcraw 601 : http://baike.baidu.com/view/38597.htmcraw 602 : http://baike.baidu.com/view/2663283.htmcraw failedcraw 602 : http://baike.baidu.com/view/3897.htmcraw 603 : http://baike.baidu.com/view/731826.htmcraw 604 : http://baike.baidu.com/view/4565963.htmcraw 605 : http://baike.baidu.com/view/122313.htmcraw 606 : http://baike.baidu.com/view/82042.htmcraw 607 : http://baike.baidu.com/view/2145608.htmcraw 608 : http://baike.baidu.com/view/543799.htmcraw 609 : http://baike.baidu.com/view/3159946.htmcraw 610 : http://baike.baidu.com/view/5622.htmcraw 611 : http://baike.baidu.com/view/4956083.htmcraw 612 : http://baike.baidu.com/view/2838982.htmcraw 613 : http://baike.baidu.com/view/2189843.htmcraw 614 : http://baike.baidu.com/view/1963.htmcraw 615 : http://baike.baidu.com/view/1830171.htmcraw 616 : http://baike.baidu.com/view/287517.htmcraw 617 : http://baike.baidu.com/view/954381.htmcraw 618 : http://baike.baidu.com/view/1125626.htmcraw 619 : http://baike.baidu.com/view/807947.htmcraw 620 : http://baike.baidu.com/view/1622687.htmcraw 621 : http://baike.baidu.com/view/89062.htmcraw 622 : http://baike.baidu.com/view/374019.htmcraw 623 : http://baike.baidu.com/view/15063271.htmcraw 624 : http://baike.baidu.com/view/2840006.htmcraw 625 : http://baike.baidu.com/view/63932.htmcraw 626 : http://baike.baidu.com/view/50425.htmcraw 627 : http://baike.baidu.com/view/27827.htmcraw 628 : http://baike.baidu.com/view/3350878.htmcraw 629 : http://baike.baidu.com/view/79022.htmcraw 630 : http://baike.baidu.com/view/873224.htmcraw 631 : http://baike.baidu.com/view/838647.htmcraw 632 : http://baike.baidu.com/view/37971.htmcraw 633 : http://baike.baidu.com/view/1272377.htmcraw 634 : http://baike.baidu.com/view/4902.htmcraw 635 : http://baike.baidu.com/view/908487.htmcraw 636 : http://baike.baidu.com/view/752677.htmcraw 637 : http://baike.baidu.com/view/184943.htmcraw 638 : http://baike.baidu.com/view/82384.htmcraw 639 : http://baike.baidu.com/view/51280.htmcraw 640 : http://baike.baidu.com/view/2454858.htmcraw 641 : http://baike.baidu.com/view/3629327.htmcraw 642 : http://baike.baidu.com/view/1270686.htmcraw 643 : http://baike.baidu.com/view/5607.htmcraw 644 : http://baike.baidu.com/view/7324.htmcraw 645 : http://baike.baidu.com/view/49842.htmcraw 646 : http://baike.baidu.com/view/1222.htmcraw 647 : http://baike.baidu.com/view/5134310.htmcraw 648 : http://baike.baidu.com/view/7899025.htmcraw 649 : http://baike.baidu.com/view/626538.htmcraw 650 : http://baike.baidu.com/view/1356068.htmcraw 651 : http://baike.baidu.com/view/635488.htmcraw 652 : http://baike.baidu.com/view/2690747.htmcraw 653 : http://baike.baidu.com/view/19308.htmcraw 654 : http://baike.baidu.com/view/1115676.htmcraw 655 : http://baike.baidu.com/view/145665.htmcraw 656 : http://baike.baidu.com/view/57240.htmcraw 657 : http://baike.baidu.com/view/3811504.htmcraw 658 : http://baike.baidu.com/view/196935.htmcraw 659 : http://baike.baidu.com/view/779630.htmcraw 660 : http://baike.baidu.com/view/467578.htmcraw 661 : http://baike.baidu.com/view/163592.htmcraw 662 : http://baike.baidu.com/view/3473650.htmcraw 663 : http://baike.baidu.com/view/708788.htmcraw 664 : http://baike.baidu.com/view/743382.htmcraw 665 : http://baike.baidu.com/view/377580.htmcraw 666 : http://baike.baidu.com/view/255729.htmcraw 667 : http://baike.baidu.com/view/4314.htmcraw 668 : http://baike.baidu.com/view/4295873.htmcraw 669 : http://baike.baidu.com/view/2749901.htmcraw 670 : http://baike.baidu.com/view/6655573.htmcraw 671 : http://baike.baidu.com/view/3060872.htmcraw 672 : http://baike.baidu.com/view/25309.htmcraw 673 : http://baike.baidu.com/view/59593.htmcraw 674 : http://baike.baidu.com/view/4052445.htmcraw 675 : http://baike.baidu.com/view/945149.htmcraw 676 : http://baike.baidu.com/view/38020.htmcraw 677 : http://baike.baidu.com/view/15707.htmcraw 678 : http://baike.baidu.com/view/1791978.htmcraw 679 : http://baike.baidu.com/view/2037245.htmcraw 680 : http://baike.baidu.com/view/57483.htmcraw 681 : http://baike.baidu.com/view/850287.htmcraw 682 : http://baike.baidu.com/view/56533.htmcraw 683 : http://baike.baidu.com/view/4998282.htmcraw 684 : http://baike.baidu.com/view/420580.htmcraw 685 : http://baike.baidu.com/view/6464381.htmcraw 686 : http://baike.baidu.com/view/628311.htmcraw 687 : http://baike.baidu.com/view/247560.htmcraw 688 : http://baike.baidu.com/view/247920.htmcraw 689 : http://baike.baidu.com/view/1768.htm?force=1craw failedcraw 689 : http://baike.baidu.com/view/437926.htmcraw 690 : http://baike.baidu.com/view/335524.htmcraw 691 : http://baike.baidu.com/view/99763.htmcraw 692 : http://baike.baidu.com/view/87503.htmcraw 693 : http://baike.baidu.com/view/73340.htmcraw 694 : http://baike.baidu.com/view/153495.htmcraw 695 : http://baike.baidu.com/view/1045770.htmcraw 696 : http://baike.baidu.com/view/1050019.htmcraw 697 : http://baike.baidu.com/view/629649.htmcraw 698 : http://baike.baidu.com/view/118803.htmcraw 699 : http://baike.baidu.com/view/134456.htmcraw 700 : http://baike.baidu.com/view/9009455.htmcraw 701 : http://baike.baidu.com/view/731775.htmcraw 702 : http://baike.baidu.com/view/1080.htmcraw 703 : http://baike.baidu.com/view/296505.htmcraw 704 : http://baike.baidu.com/view/8375162.htmcraw 705 : http://baike.baidu.com/view/165332.htmcraw 706 : http://baike.baidu.com/view/768643.htmcraw 707 : http://baike.baidu.com/view/1127103.htmcraw 708 : http://baike.baidu.com/view/253674.htmcraw 709 : http://baike.baidu.com/view/287053.htmcraw 710 : http://baike.baidu.com/view/823673.htmcraw 711 : http://baike.baidu.com/view/4690186.htmcraw 712 : http://baike.baidu.com/view/365436.htmcraw 713 : http://baike.baidu.com/view/8964601.htmcraw 714 : http://baike.baidu.com/view/57614.htmcraw 715 : http://baike.baidu.com/view/114498.htmcraw 716 : http://baike.baidu.com/view/923594.htmcraw 717 : http://baike.baidu.com/view/60929.htmcraw 718 : http://baike.baidu.com/view/5435047.htmcraw 719 : http://baike.baidu.com/view/506283.htmcraw 720 : http://baike.baidu.com/view/540990.htmcraw 721 : http://baike.baidu.com/view/1108588.htmcraw 722 : http://baike.baidu.com/view/52606.htmcraw 723 : http://baike.baidu.com/view/1316104.htmcraw 724 : http://baike.baidu.com/view/746679.htmcraw 725 : http://baike.baidu.com/view/1677203.htmcraw 726 : http://baike.baidu.com/view/89762.htmcraw 727 : http://baike.baidu.com/view/83228.htmcraw 728 : http://baike.baidu.com/view/3725178.htmcraw 729 : http://baike.baidu.com/view/146163.htmcraw 730 : http://baike.baidu.com/view/36453.htmcraw 731 : http://baike.baidu.com/view/3426346.htmcraw 732 : http://baike.baidu.com/view/3566096.htmcraw 733 : http://baike.baidu.com/view/1601411.htmcraw 734 : http://baike.baidu.com/view/55489.htmcraw 735 : http://baike.baidu.com/view/16861.htmcraw 736 : http://baike.baidu.com/view/4987812.htmcraw 737 : http://baike.baidu.com/view/367246.htmcraw 738 : http://baike.baidu.com/view/42607.htmcraw 739 : http://baike.baidu.com/view/51830.htmcraw 740 : http://baike.baidu.com/view/3086730.htmcraw 741 : http://baike.baidu.com/view/187677.htmcraw 742 : http://baike.baidu.com/view/10812319.htmcraw 743 : http://baike.baidu.com/view/9278189.htmcraw failedcraw 743 : http://baike.baidu.com/view/11154.htmcraw 744 : http://baike.baidu.com/view/3877425.htmcraw 745 : http://baike.baidu.com/view/3786883.htmcraw 746 : http://baike.baidu.com/view/115626.htmcraw 747 : http://baike.baidu.com/view/1541187.htmcraw 748 : http://baike.baidu.com/view/417234.htmcraw 749 : http://baike.baidu.com/view/1504278.htmcraw 750 : http://baike.baidu.com/view/984311.htmcraw 751 : http://baike.baidu.com/view/427781.htmcraw 752 : http://baike.baidu.com/view/206565.htmcraw 753 : http://baike.baidu.com/view/7812.htmcraw 754 : http://baike.baidu.com/view/3245437.htmcraw 755 : http://baike.baidu.com/view/958886.htmcraw 756 : http://baike.baidu.com/view/99902.htmcraw 757 : http://baike.baidu.com/view/737191.htmcraw 758 : http://baike.baidu.com/view/149197.htmcraw 759 : http://baike.baidu.com/view/39583.htmcraw 760 : http://baike.baidu.com/view/469556.htmcraw 761 : http://baike.baidu.com/view/439228.htmcraw 762 : http://baike.baidu.com/view/804486.htmcraw 763 : http://baike.baidu.com/view/3047417.htmcraw 764 : http://baike.baidu.com/view/56242.htmcraw 765 : http://baike.baidu.com/view/3354307.htmcraw 766 : http://baike.baidu.com/view/329791.htmcraw 767 : http://baike.baidu.com/view/3973.htmcraw 768 : http://baike.baidu.com/view/21337.htmcraw 769 : http://baike.baidu.com/view/568485.htmcraw 770 : http://baike.baidu.com/view/98396.htmcraw 771 : http://baike.baidu.com/view/2986106.htmcraw 772 : http://baike.baidu.com/view/335545.htmcraw 773 : http://baike.baidu.com/view/1358513.htmcraw 774 : http://baike.baidu.com/view/597419.htmcraw 775 : http://baike.baidu.com/view/79928.htmcraw 776 : http://baike.baidu.com/view/1976893.htmcraw 777 : http://baike.baidu.com/view/34721.htmcraw 778 : http://baike.baidu.com/view/729241.htmcraw 779 : http://baike.baidu.com/view/2078353.htmcraw 780 : http://baike.baidu.com/view/805190.htmcraw 781 : http://baike.baidu.com/view/3445469.htmcraw 782 : http://baike.baidu.com/view/140904.htmcraw 783 : http://baike.baidu.com/view/13590860.htmcraw 784 : http://baike.baidu.com/view/10796.htmcraw 785 : http://baike.baidu.com/view/1007475.htmcraw 786 : http://baike.baidu.com/view/288200.htmcraw 787 : http://baike.baidu.com/view/198007.htmcraw 788 : http://baike.baidu.com/view/596572.htmcraw 789 : http://baike.baidu.com/view/4818171.htmcraw 790 : http://baike.baidu.com/view/340391.htmcraw 791 : http://baike.baidu.com/view/228841.htmcraw 792 : http://baike.baidu.com/view/251133.htmcraw 793 : http://baike.baidu.com/view/80160.htmcraw 794 : http://baike.baidu.com/view/105988.htmcraw 795 : http://baike.baidu.com/view/54530.htmcraw 796 : http://baike.baidu.com/view/333303.htmcraw 797 : http://baike.baidu.com/view/44065.htmcraw 798 : http://baike.baidu.com/view/313748.htmcraw 799 : http://baike.baidu.com/view/910606.htmcraw 800 : http://baike.baidu.com/view/2196457.htmcraw 801 : http://baike.baidu.com/view/288526.htmcraw 802 : http://baike.baidu.com/view/26942.htmcraw 803 : http://baike.baidu.com/view/1149053.htmcraw 804 : http://baike.baidu.com/view/553274.htmcraw 805 : http://baike.baidu.com/view/4196296.htmcraw 806 : http://baike.baidu.com/view/164289.htmcraw 807 : http://baike.baidu.com/view/323674.htmcraw 808 : http://baike.baidu.com/view/545998.htmcraw 809 : http://baike.baidu.com/view/14449.htmcraw 810 : http://baike.baidu.com/view/89193.htmcraw 811 : http://baike.baidu.com/view/1044776.htmcraw 812 : http://baike.baidu.com/view/928508.htmcraw 813 : http://baike.baidu.com/view/2931465.htmcraw 814 : http://baike.baidu.com/view/14757936.htmcraw 815 : http://baike.baidu.com/view/3021225.htmcraw 816 : http://baike.baidu.com/view/16351.htmcraw 817 : http://baike.baidu.com/view/23177.htmcraw 818 : http://baike.baidu.com/view/274843.htmcraw 819 : http://baike.baidu.com/view/88690.htmcraw 820 : http://baike.baidu.com/view/10700.htmcraw 821 : http://baike.baidu.com/view/8538065.htmcraw 822 : http://baike.baidu.com/view/979603.htmcraw 823 : http://baike.baidu.com/view/685011.htmcraw 824 : http://baike.baidu.com/view/1367984.htmcraw 825 : http://baike.baidu.com/view/587157.htmcraw 826 : http://baike.baidu.com/view/794899.htmcraw 827 : http://baike.baidu.com/view/2039207.htmcraw 828 : http://baike.baidu.com/view/1490321.htmcraw 829 : http://baike.baidu.com/view/35662.htmcraw 830 : http://baike.baidu.com/view/8634.htmcraw 831 : http://baike.baidu.com/view/30493.htmcraw 832 : http://baike.baidu.com/view/5242.htmcraw 833 : http://baike.baidu.com/view/1130583.htmcraw 834 : http://baike.baidu.com/view/38474.htmcraw 835 : http://baike.baidu.com/view/873549.htmcraw 836 : http://baike.baidu.com/view/688587.htmcraw 837 : http://baike.baidu.com/view/60095.htmcraw 838 : http://baike.baidu.com/view/3923.htmcraw 839 : http://baike.baidu.com/view/18765.htmcraw 840 : http://baike.baidu.com/view/11638201.htmcraw 841 : http://baike.baidu.com/view/1037512.htmcraw 842 : http://baike.baidu.com/view/59739.htmcraw failedcraw 842 : http://baike.baidu.com/view/6552084.htmcraw 843 : http://baike.baidu.com/view/337787.htmcraw 844 : http://baike.baidu.com/view/1256385.htmcraw 845 : http://baike.baidu.com/view/3225925.htmcraw 846 : http://baike.baidu.com/view/1116925.htmcraw 847 : http://baike.baidu.com/view/3287082.htmcraw 848 : http://baike.baidu.com/view/999500.htmcraw 849 : http://baike.baidu.com/view/1364083.htmcraw 850 : http://baike.baidu.com/view/270299.htmcraw 851 : http://baike.baidu.com/view/7706.htmcraw 852 : http://baike.baidu.com/view/60584.htmcraw 853 : http://baike.baidu.com/view/285987.htmcraw 854 : http://baike.baidu.com/view/45007.htmcraw 855 : http://baike.baidu.com/view/3311889.htmcraw 856 : http://baike.baidu.com/view/109766.htmcraw 857 : http://baike.baidu.com/view/7323.htmcraw 858 : http://baike.baidu.com/view/69991.htmcraw 859 : http://baike.baidu.com/view/11158473.htmcraw 860 : http://baike.baidu.com/view/3163917.htmcraw 861 : http://baike.baidu.com/view/1263178.htmcraw 862 : http://baike.baidu.com/view/597279.htmcraw 863 : http://baike.baidu.com/view/52057.htmcraw 864 : http://baike.baidu.com/view/58175.htmcraw 865 : http://baike.baidu.com/view/381838.htmcraw 866 : http://baike.baidu.com/view/805176.htmcraw 867 : http://baike.baidu.com/view/178723.htmcraw 868 : http://baike.baidu.com/view/518963.htmcraw 869 : http://baike.baidu.com/view/184163.htmcraw 870 : http://baike.baidu.com/view/6408149.htmcraw 871 : http://baike.baidu.com/view/4637814.htmcraw 872 : http://baike.baidu.com/view/1421620.htmcraw 873 : http://baike.baidu.com/view/82408.htmcraw 874 : http://baike.baidu.com/view/304158.htmcraw 875 : http://baike.baidu.com/view/1004191.htmcraw 876 : http://baike.baidu.com/view/8446486.htmcraw 877 : http://baike.baidu.com/view/358971.htmcraw 878 : http://baike.baidu.com/view/1638.htmcraw 879 : http://baike.baidu.com/view/4257789.htmcraw 880 : http://baike.baidu.com/view/37133.htmcraw 881 : http://baike.baidu.com/view/250855.htmcraw 882 : http://baike.baidu.com/view/849929.htmcraw 883 : http://baike.baidu.com/view/9441552.htmcraw 884 : http://baike.baidu.com/view/312355.htmcraw 885 : http://baike.baidu.com/view/1021898.htmcraw 886 : http://baike.baidu.com/view/2052696.htmcraw 887 : http://baike.baidu.com/view/603384.htmcraw 888 : http://baike.baidu.com/view/287199.htmcraw 889 : http://baike.baidu.com/view/7907351.htmcraw 890 : http://baike.baidu.com/view/116145.htmcraw 891 : http://baike.baidu.com/view/20160.htmcraw 892 : http://baike.baidu.com/view/319976.htmcraw 893 : http://baike.baidu.com/view/1605842.htmcraw 894 : http://baike.baidu.com/view/103801.htmcraw 895 : http://baike.baidu.com/view/296496.htmcraw 896 : http://baike.baidu.com/view/68902.htmcraw 897 : http://baike.baidu.com/view/2398702.htmcraw 898 : http://baike.baidu.com/view/2208576.htmcraw 899 : http://baike.baidu.com/view/89461.htmcraw 900 : http://baike.baidu.com/view/3276196.htmcraw 901 : http://baike.baidu.com/view/769262.htmcraw 902 : http://baike.baidu.com/view/648077.htmcraw 903 : http://baike.baidu.com/view/652289.htmcraw 904 : http://baike.baidu.com/view/303841.htmcraw 905 : http://baike.baidu.com/view/68799.htmcraw 906 : http://baike.baidu.com/view/183142.htmcraw 907 : http://baike.baidu.com/view/1368113.htmcraw 908 : http://baike.baidu.com/view/27055.htmcraw 909 : http://baike.baidu.com/view/4687.htmcraw 910 : http://baike.baidu.com/view/7567554.htmcraw 911 : http://baike.baidu.com/view/1381475.htmcraw 912 : http://baike.baidu.com/view/25402.htmcraw 913 : http://baike.baidu.com/view/16386.htmcraw 914 : http://baike.baidu.com/view/915964.htmcraw 915 : http://baike.baidu.com/view/5053939.htmcraw 916 : http://baike.baidu.com/view/14742.htmcraw 917 : http://baike.baidu.com/view/5225.htmcraw 918 : http://baike.baidu.com/view/1828808.htmcraw 919 : http://baike.baidu.com/view/35448.htmcraw 920 : http://baike.baidu.com/view/230853.htmcraw 921 : http://baike.baidu.com/view/120590.htmcraw 922 : http://baike.baidu.com/view/3814430.htmcraw 923 : http://baike.baidu.com/view/1719388.htmcraw 924 : http://baike.baidu.com/view/42137.htmcraw 925 : http://baike.baidu.com/view/1468347.htmcraw 926 : http://baike.baidu.com/view/925582.htmcraw 927 : http://baike.baidu.com/view/24540.htmcraw 928 : http://baike.baidu.com/view/1128733.htmcraw 929 : http://baike.baidu.com/view/1376197.htmcraw 930 : http://baike.baidu.com/view/192875.htmcraw 931 : http://baike.baidu.com/view/95625.htmcraw 932 : http://baike.baidu.com/view/105446.htmcraw 933 : http://baike.baidu.com/view/49215.htmcraw 934 : http://baike.baidu.com/view/125237.htmcraw 935 : http://baike.baidu.com/view/150331.htmcraw 936 : http://baike.baidu.com/view/530960.htmcraw 937 : http://baike.baidu.com/view/549571.htmcraw 938 : http://baike.baidu.com/view/1270192.htmcraw 939 : http://baike.baidu.com/view/53914.htmcraw 940 : http://baike.baidu.com/view/196620.htmcraw 941 : http://baike.baidu.com/view/238346.htmcraw 942 : http://baike.baidu.com/view/374214.htmcraw 943 : http://baike.baidu.com/view/11086134.htmcraw 944 : http://baike.baidu.com/view/878514.htmcraw 945 : http://baike.baidu.com/view/948412.htmcraw 946 : http://baike.baidu.com/view/787317.htmcraw 947 : http://baike.baidu.com/view/58088.htmcraw 948 : http://baike.baidu.com/view/52978.htmcraw 949 : http://baike.baidu.com/view/4865125.htmcraw 950 : http://baike.baidu.com/view/9584422.htmcraw 951 : http://baike.baidu.com/view/805615.htmcraw 952 : http://baike.baidu.com/view/1353047.htmcraw 953 : http://baike.baidu.com/view/130157.htmcraw 954 : http://baike.baidu.com/view/58244.htmcraw 955 : http://baike.baidu.com/view/840.htmcraw 956 : http://baike.baidu.com/view/151329.htmcraw 957 : http://baike.baidu.com/view/10868760.htmcraw 958 : http://baike.baidu.com/view/3113098.htmcraw 959 : http://baike.baidu.com/view/1800421.htmcraw 960 : http://baike.baidu.com/view/178559.htmcraw 961 : http://baike.baidu.com/view/64883.htmcraw 962 : http://baike.baidu.com/view/4865268.htmcraw 963 : http://baike.baidu.com/view/1021459.htmcraw 964 : http://baike.baidu.com/view/459794.htmcraw 965 : http://baike.baidu.com/view/967280.htmcraw 966 : http://baike.baidu.com/view/1051898.htmcraw 967 : http://baike.baidu.com/view/861834.htmcraw 968 : http://baike.baidu.com/view/958230.htmcraw 969 : http://baike.baidu.com/view/1770681.htmcraw 970 : http://baike.baidu.com/view/148581.htmcraw 971 : http://baike.baidu.com/view/17252.htmcraw 972 : http://baike.baidu.com/view/58036.htmcraw 973 : http://baike.baidu.com/view/345958.htmcraw 974 : http://baike.baidu.com/view/5636568.htmcraw 975 : http://baike.baidu.com/view/661817.htmcraw 976 : http://baike.baidu.com/view/388481.htmcraw 977 : http://baike.baidu.com/view/884432.htmcraw 978 : http://baike.baidu.com/view/144788.htmcraw 979 : http://baike.baidu.com/view/3940.htmcraw 980 : http://baike.baidu.com/view/3153.htmcraw 981 : http://baike.baidu.com/view/1604452.htmcraw 982 : http://baike.baidu.com/view/23920.htmcraw 983 : http://baike.baidu.com/view/25279.htmcraw 984 : http://baike.baidu.com/view/610312.htmcraw 985 : http://baike.baidu.com/view/1982787.htmcraw 986 : http://baike.baidu.com/view/950418.htmcraw 987 : http://baike.baidu.com/view/7293.htmcraw 988 : http://baike.baidu.com/view/1568.htmcraw 989 : http://baike.baidu.com/view/760787.htmcraw 990 : http://baike.baidu.com/view/6429951.htmcraw 991 : http://baike.baidu.com/view/55403.htmcraw 992 : http://baike.baidu.com/view/49674.htmcraw 993 : http://baike.baidu.com/view/4040.htmcraw 994 : http://baike.baidu.com/view/152182.htmcraw 995 : http://baike.baidu.com/view/3264698.htmcraw 996 : http://baike.baidu.com/view/822510.htmcraw 997 : http://baike.baidu.com/view/640046.htmcraw 998 : http://baike.baidu.com/view/281984.htmcraw 999 : http://baike.baidu.com/view/303962.htmcraw 1000 : http://baike.baidu.com/view/5101618.htm
View Code

 

结果:

1 
http://baike.baidu.com/view/21087.htm Python 2 Python(英国发音:/ˈpaɪθən/ 美国发音:/ˈpaɪθɑːn/), 是一种面向对象、解释型计算机程序设计语言,由Guido van Rossum于1989年发明,第一个公开发行版发行于1991年。Python是纯粹的自由软件, 源代码和解释器CPython遵循 GPL(GNU General Public License)协议[1] 3 。Python语法简洁清晰,特色之一是强制用空白符(white space)作为语句缩进。Python具有丰富和强大的库。它常被昵称为胶水语言,能够把用其他语言制作的各种模块(尤其是C/C++)很轻松地联结在一起。常见的一种应用情形是,使用Python快速生成程序的原型(有时甚至是程序的最终界面),然后对其中[2] 4 有特别要求的部分,用更合适的语言改写,比如3D游戏中的图形渲染模块,性能要求特别高,就可以用C/C++重写,而后封装为Python可以调用的扩展类库。需要注意的是在您使用扩展类库时可能需要考虑平台问题,某些可能不提供跨平台的实现。 5
http://baike.baidu.com/view/16068.htm api 6 API(Application Programming Interface,应用程序编程接口)是一些预先定义的函数,目的是提供应用程序与开发人员基于某软件或硬件得以访问一组例程的能力,而又无需访问源码,或理解内部工作机制的细节。 7
http://baike.baidu.com/view/53557.htm 系统资源 8 。。。。 9 10
http://baike.baidu.com/view/5101618.htm 仝晓 11 仝晓,小名·臭宝。山西省运城市平陆人,90后最有争议性诗人,草根学者。玄鸟诗社核心成员,代表作有诗歌《有女孩问我》。学术代表:《仝晓浅谈先秦诸子》。所写的文字中总带有四分邪性,坚持诗歌不上任何刊物。12
View Code

 

目前有个问题:

最后结果在notepad++打开是正常的,用网页打开就是乱码了。。

 

解决:

把 html_outputer.py 中加上:

fout.write('
')

 

 

1 #!/usr/bin/python 2 # coding=utf-8 3  4 class HtmlOutputer(object): 5     """docstring for HtmlOutputer""" 6     def __init__(self): 7         self.datas = [] 8  9     def collect_data(self, data):10         if data is None:11             return12         self.datas.append(data)13 14     def output_html(self):15         fout = open('output.html', 'w')16 17         fout.write("")18         fout.write("")19         # charset 编码20         fout.write('
')21 fout.write("")22 fout.write("")23 fout.write("
")24 25 # python 默认 ascii26 for data in self.datas:27 fout.write("
")28 fout.write("
" % data['url'])29 fout.write("
" % data['title'].encode('utf-8'))30 fout.write("
" % data['summary'].encode('utf-8'))31 fout.write("
")32 33 fout.write("
%s %s %s
")34 fout.write("")35 fout.write("")36 37 fout.close()

 

转载于:https://www.cnblogs.com/njczy2010/p/5552936.html

你可能感兴趣的文章
HDU-1172 猜数字 广搜
查看>>
为 NokiaQt SDK增加新的Sym“.NET研究”bian SDK开发平台
查看>>
c语言动态指针"数组"--一种伪二维数组
查看>>
html基础知识补全
查看>>
Tomcat监控
查看>>
国外金网站
查看>>
virtualbox vdi extend the disk usage
查看>>
VOIP Codec 三剑客之 ISAC/ILBC -- ISAC (4) Pitch Parameters Encode 模块
查看>>
window7 64位 myeclipse9.0破解步骤
查看>>
PHP语言中global和$GLOBALS[]的分析(转)
查看>>
使用PL/SQL对表进行解锁
查看>>
为视图加边框
查看>>
select - I/O多路复用
查看>>
如何居中一个浮动元素?
查看>>
Flex 国际化使用
查看>>
七大主题
查看>>
Linux中fork()函数详解
查看>>
linux下查看当前shell方法。
查看>>
poj 1007 DNA Sorting(排序--快排)
查看>>
tooltip 提示多行显示
查看>>