deepl翻译只读取,不翻译
yangchen859 opened this issue · comments
发现问题: deepl_translator.py 中
self.headers = { "content-type": "application/json", "X-RapidAPI-Key": "", "X-RapidAPI-Host": "deepl-translator.p.rapidapi.com", }
替换为
self.headers = { "content-type": "application/json", "X-RapidAPI-Key": "", "X-RapidAPI-Host": "dpl-translator.p.rapidapi.com", }
就可以翻译了
发现问题: deepl_translator.py 中
self.headers = { "content-type": "application/json", "X-RapidAPI-Key": "", "X-RapidAPI-Host": "deepl-translator.p.rapidapi.com", }
替换为self.headers = { "content-type": "application/json", "X-RapidAPI-Key": "", "X-RapidAPI-Host": "dpl-translator.p.rapidapi.com", }
就可以翻译了
来个 pr?
发现问题: deepl_translator.py 中
self.headers = { "content-type": "application/json", "X-RapidAPI-Key": "", "X-RapidAPI-Host": "deepl-translator.p.rapidapi.com", }
替换为self.headers = { "content-type": "application/json", "X-RapidAPI-Key": "", "X-RapidAPI-Host": "dpl-translator.p.rapidapi.com", }
就可以翻译了
你这俩没区别啊
有区别,我**了
@yangchen859 按照你的代码 fix 了,在 commit 里面加了感谢,谢谢你