fix #10
This commit is contained in:
		
							parent
							
								
									6be229e325
								
							
						
					
					
						commit
						4737553e26
					
				@ -11,7 +11,7 @@ class Baidu_Chinese(WebService):
 | 
				
			|||||||
        super(Baidu_Chinese, self).__init__()
 | 
					        super(Baidu_Chinese, self).__init__()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def _get_content(self):
 | 
					    def _get_content(self):
 | 
				
			||||||
        url = u"https://hanyu.baidu.com/s?wd={}&ptype=zici#basicmean".format(self.word)
 | 
					        url = u"http://dict.baidu.com/s?wd={}#basicmean".format(self.word)
 | 
				
			||||||
        html = self.get_response(url, timeout=10)
 | 
					        html = self.get_response(url, timeout=10)
 | 
				
			||||||
        soup = parseHtml(html)
 | 
					        soup = parseHtml(html)
 | 
				
			||||||
        result = {
 | 
					        result = {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user