Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Translator

命令行聚合翻译工具,支持谷歌,必应,有道,百度,词霸,360
命令行聚合翻译工具,支持谷歌,必应,有道,百度,词霸,360,腾讯

## Preface

Expand All @@ -9,7 +9,7 @@
最终找到一个桌面软件:QTranslate,同时支持十大翻译引擎,这个挂了可以用那个,这个翻译的不好可以看另外一个。所以我打算模仿一下 QTranslate,在命令行下面写这么一个东西,目标是:

- 支持代理:很多工具不支持代理,导致某些引擎就没法使用,所以代理是一等公民。
- 多种引擎:初期支持:谷歌,必应,有道,百度,词霸,360,并且不断更新。
- 多种引擎:初期支持:谷歌,必应,有道,百度,词霸,360,腾讯,并且不断更新。
- 同引擎多实现:官方接口(有的话),页面爬虫(如果官方接口要付费的话)。
- 三种输出:纯文本,HTML(方便集成字典),xterm(终端色彩高亮)。
- 可以方便的同 GoldenDict 等工具集成。
Expand Down Expand Up @@ -122,6 +122,7 @@ have you eaten yet
| ciba | 词霸 | Yes | Yes | No | 免费 | 完成 |
| sogou | 搜狗 | Yes | Yes | No | 免费 | TODO |
| baiduweb | 百度 | No (爬虫) | Yes | No | 免费 | TODO |
| tencent | 腾讯 | No | Yes | No | 免费 | TODO |

说明:

Expand Down
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
requests
beautifulsoup4
Loading