Closed ghost closed 1 year ago
Had been kind of busy but I did another built-in translator with PyDeepX, But... it gets banned and proxy won't work. Working on it.
Already tried, even contribute on PyDeepX, but got banned after even one request. It is a DeepL API limitation
@sinedie Weird i had no prob after resetting router once this one is also fast qnd good there should be no banning on this https://github.com/eggplants/deepl-cli
I just saw it and could work, but maybe won't be too fast.
May be worth the try, but I don't think I'll make put like a built-in translator.
There is the -untested- code if you wanna use it tho:
from deepl import DeepLCLI
from srtranslator.translators.base import Translator
class DeeplCli(Translator):
max_char = 3000
def translate(self, text: str, source_language: str, destination_language: str):
deepl = DeepLCLI(source_language, destination_language)
return deepl.translate(text)
Also, didn't notice any way to use a proxy
@sinedie deeplx working on me, could you find a way to use proxy? also using chunks method on deeplx probably fix quick ban problem imo. lets dont give up on deeplx!
@toprak #72 should work for your use case. Give it a try
@sinedie hell yeah! thanks!
using this with proxies probably would be more quick, what about implement this idea?