From 4737553e26cdfd04e2472ff52a6ef22957ba9a44 Mon Sep 17 00:00:00 2001 From: "St.Huang" Date: Sun, 8 Jul 2018 12:37:24 +0800 Subject: [PATCH] fix #10 --- src/fastwq/service/baidu_chinese.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fastwq/service/baidu_chinese.py b/src/fastwq/service/baidu_chinese.py index 76e8975..7920a55 100644 --- a/src/fastwq/service/baidu_chinese.py +++ b/src/fastwq/service/baidu_chinese.py @@ -11,7 +11,7 @@ class Baidu_Chinese(WebService): super(Baidu_Chinese, self).__init__() 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) soup = parseHtml(html) result = {