Comments (5)
I will consider adding this feature if needed. @killo3967
from deeplx.
Ok, so let me explain my idea.
So far from Calibre (https://calibre-ebook.com/) using the translation plugin (https://github.com/bookfere/Ebook-Translator-Calibre-Plugin) and with the right configuration I can use your software.
{
"name": "DeepL X",
"languages": {
"source": {
"English (British)": "EN-GB"
},
"target": {
"Español de España": "ES
}
},
"request": {
"url": "http://127.0.0.1:1188/translate",
"method": "POST",
"headers": {
"content-Type": "application/json".
},
"data": {
"source_lang":"
"target_lang":"",
"text":""
}
},
"response": "response['data']"
}
The problem I have is the one I told you in the previous post. After several requests it gives an error. #40 (#40)
That's why I want to pass your program through the tor network so that each request comes from a different source and with this I think I could bypass the DeepL protections. I have tried with ADVOR ( https://sourceforge.net/projects/advtor/) to capture the program but I get this error message.
DeepL X has been successfully launched! Listening on 0.0.0.0.0:1188
Made by sjlleo and missuo.
2023/04/26 18:44:41 main.go:203: Post "https://www2.deepl.com/jsonrpc": dial tcp 255.16.0.0.0:443: connectex: A socket operation was attempted on an unreachable network.
[GIN] 2023/04/26 - 18:44:41 |←[97;42m 200 ←[0m| 69.7096ms | 192.168.1.50 |←[97;46m POST ←[0m "/translate"
2023/04/26 18:44:41 main.go:203: Post "https://www2.deepl.com/jsonrpc": dial tcp 255.16.0.0.0:443: connectex: A socket operation was attempted on an unreachable network.
[GIN] 2023/04/26 - 18:44:41 |←[97;42m 200 ←[0m| 1.9329ms | 192.168.1.50 |←[97;46m POST ←[0m "/translate"
2023/04/26 18:44:58 main.go:203: Post "https://www2.deepl.com/jsonrpc": dial tcp 255.16.0.0.0:443: connectex: A socket operation was attempted on an unreachable network.
[GIN] 2023/04/26 - 18:44:58 |←[97;42m 200 ←[0m| 1.905ms | 192.168.1.50 |←[97;46m POST ←[0m "/translate"
This is why this is the proxy request. Calibre sends it to your software that via proxy forwards it to the tor router (ADVOR).
from deeplx.
I've rewritten a package for Python that you can call directly from within the Python code. You can check this link for details.
from deeplx.
Sorry , but i don't understand what are you doing and my skills in pyhton are less than zero. What i need is that your api could have a proxy option.
from deeplx.
Sorry , but i don't understand what are you doing and my skills in pyhton are less than zero. What i need is that your api could have a proxy option.
This is a PR to add proxy option.
from deeplx.
Related Issues (20)
- Win10一打开就闪退, 把能关的都关了也无法解决问题, 用ProcessMonitor记录了下崩溃过程 HOT 22
- 沉浸翻译偶尔报错:Unexpected end of JSON input HOT 1
- the response data is blank HOT 1
- v2/translate 接口似乎没有校验 token HOT 1
- v2/translate 接口的 Authorization 头和官方不一致 HOT 7
- Ability to provide auth keys within file HOT 4
- Multiple line translation HOT 14
- 临时解决时区问题
- 请求添加对树莓派ARM的二进制程序 HOT 5
- can i use my premium session? HOT 3
- 功能建议:术语表
- 批量翻译返回格式和官方不一致 HOT 2
- 是否可用添加ipv6的代理池
- DeeplX doest work? HOT 3
- Multiple text translation HOT 2
- how avoid translation failed, because of empty result ? HOT 7
- [报错] HOT 3
- [error]: 5次重试后依然出错:response.text='',Expecting value: line 1 column 1 (char 0) HOT 1
- 更改端口后原端口并未关闭,而是开启了两个端口,如何将default端口关闭 HOT 3
- 支持 DeepL 官方 API 接口响应格式 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deeplx.