feat: bing网页搜索失败之后使用搜狗
This commit is contained in:
@@ -125,7 +125,7 @@ def web_keyword_search_via_bing(keyword) -> str:
|
||||
time.sleep(1)
|
||||
|
||||
gu.log("fail to fetch bing info, using sougou.")
|
||||
return google_web_search(keyword)
|
||||
return web_keyword_search_via_sougou(keyword)
|
||||
|
||||
def web_keyword_search_via_sougou(keyword) -> str:
|
||||
headers = {
|
||||
|
||||
Reference in New Issue
Block a user