Skip to content

Commit

Permalink
docs: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
tisfeng committed Oct 26, 2023
1 parent 51bbc83 commit f54cbaf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -435,6 +435,8 @@ cookieStore.get("MUID").then(result => console.log(encodeURIComponent("MUID=" +r
easydict://writeKeyValue?EZBingCookieKey=xxx
```

> 注意,Bing TTS 用的也是网页接口,同样容易触发接口限制,且不会报错提示,因此如果将 Bing 设为默认的 TTS,建议设置 cookie。
## 智能查询模式

目前查询服务主要分为两类:查询单词(如苹果词典)和翻译文本(如 DeepL),另外有些服务(如有道和谷歌),同时支持查询单词和翻译文本。
Expand Down
2 changes: 2 additions & 0 deletions README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f54cbaf

Please sign in to comment.