From f54cbaf7fdaff3129c3b89c934b31e137fd67395 Mon Sep 17 00:00:00 2001 From: tisfeng Date: Thu, 26 Oct 2023 21:07:59 +0800 Subject: [PATCH] docs: update README --- README.md | 4 +++- README_EN.md | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ff409e3d9..ed6df8a2c 100644 --- a/README.md +++ b/README.md @@ -425,7 +425,7 @@ easydict://writeKeyValue?EZDeepLTranslationAPIKey=2 具体步骤是,使用浏览器打开 [Bing Translator](https://www.bing.com/translator),登录,然后在控制台执行以下代码获取 cookie ```js -cookieStore.get("MUID").then(result => console.log(encodeURIComponent("MUID=" +result.value))); +cookieStore.get("MUID").then(result => console.log(encodeURIComponent("MUID=" + result.value))); ``` 最后将 cookie 使用命令写入 Easydict @@ -435,6 +435,8 @@ cookieStore.get("MUID").then(result => console.log(encodeURIComponent("MUID=" +r easydict://writeKeyValue?EZBingCookieKey=xxx ``` +> 注意,Bing TTS 用的也是网页接口,同样容易触发接口限制,且不会报错提示,因此如果将 Bing 设为默认的 TTS,建议设置 cookie。 + ## 智能查询模式 目前查询服务主要分为两类:查询单词(如苹果词典)和翻译文本(如 DeepL),另外有些服务(如有道和谷歌),同时支持查询单词和翻译文本。 diff --git a/README_EN.md b/README_EN.md index 372008baf..8c10631f8 100644 --- a/README_EN.md +++ b/README_EN.md @@ -429,6 +429,8 @@ Finally, use the command to write the cookie in Easydict easydict://writeKeyValue?EZBingCookieKey=xxx ``` +> Note that Bing TTS also uses a web interface, which is also easy to trigger interface restrictions and does not report errors, so if you set Bing to the default TTS, it is recommended to set cookies. + ## Smart query mode Currently, there are two main types of lookup services: vocabulary lookup (e.g., Apple Dictionary) and translating text (e.g., DeepL), and there are also some services (e.g., Yudao and Google) that support both vocabulary lookup and translating text.