bug fixes

This commit is contained in:
St.Huang 2018-09-06 08:31:26 +08:00
parent 81d662048a
commit 6af8d07f08
4 changed files with 8 additions and 8 deletions

View File

@ -16,8 +16,8 @@ class Bing(WebService):
soup = parse_html(data)
result = {
'pronunciation': {'AmE': '', 'BrE': '', 'AmEmp3': '', 'BrEmp3': ''},
'def': '',
'sams': '',
'def': [],
'sams': [],
}
#音

View File

@ -15,8 +15,8 @@ class BingXtk(WebService):
def _get_from_api(self):
result = {
'pronunciation': {'AmE': '', 'BrE': '', 'AmEmp3': '', 'BrEmp3': ''},
'def': '',
'sams': '',
'def': [],
'sams': [],
}
headers = {
'Accept-Language': 'en-US,zh-CN;q=0.8,zh;q=0.6,en;q=0.4',

View File

@ -16,8 +16,8 @@ class Bing(WebService):
soup = parse_html(data)
result = {
'pronunciation': {'AmE': '', 'BrE': '', 'AmEmp3': '', 'BrEmp3': ''},
'def': '',
'sams': '',
'def': [],
'sams': [],
}
#音

View File

@ -15,8 +15,8 @@ class BingXtk(WebService):
def _get_from_api(self):
result = {
'pronunciation': {'AmE': '', 'BrE': '', 'AmEmp3': '', 'BrEmp3': ''},
'def': '',
'sams': '',
'def': [],
'sams': [],
}
headers = {
'Accept-Language': 'en-US,zh-CN;q=0.8,zh;q=0.6,en;q=0.4',