You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 13, 2024. It is now read-only.
$ git clone https://github.com/uinput/deeplator.git
Cloning into 'deeplator'...
remote: Enumerating objects: 147, done.
remote: Total 147 (delta 0), reused 0 (delta 0), pack-reused 147
Receiving objects: 100% (147/147), 23.92 KiB | 2.66 MiB/s, done.
Resolving deltas: 100% (78/78), done.
n@nTP:~/git$ cd deeplator/
n@nTP:~/git/deeplator$ ls
deeplator deeplator.py LICENSE.txt README.md setup.py
n@nTP:~/git/deeplator$ ./deeplator.py
You did not specify a translation code.
Available languages are EN,DE,FR,ES,IT,NL,PL,PT,RU,AUTO.
Source language: AUTO
Output language: DE
Enter the text to be translated. Use Ctrl+D to exit.
hello whats that?
i dont know...
----------------
Traceback (most recent call last):
File "/home/t/git/deeplator/deeplator/translator.py", line 134, in _send_jsonrpc
return rpc.send(POST_URL)
File "/home/t/git/deeplator/deeplator/jsonrpc.py", line 29, in send
data_str = request.urlopen(req).read()
File "/usr/lib/python3.9/urllib/request.py", line 214, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.9/urllib/request.py", line 523, in open
response = meth(req, response)
File "/usr/lib/python3.9/urllib/request.py", line 632, in http_response
response = self.parent.error(
File "/usr/lib/python3.9/urllib/request.py", line 561, in error
return self._call_chain(*args)
File "/usr/lib/python3.9/urllib/request.py", line 494, in _call_chain
result = func(*args)
File "/usr/lib/python3.9/urllib/request.py", line 641, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 429: Too many requests
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/t/git/deeplator/./deeplator.py", line 52, in <module>
translations = t.translate_sentences(sentences)
File "/home/t/git/deeplator/deeplator/translator.py", line 87, in translate_sentences
resp = _send_jsonrpc(method, params)
File "/home/t/git/deeplator/deeplator/translator.py", line 136, in _send_jsonrpc
raise TranslationError(e.reason)
deeplator.translator.TranslationError: Too many requests
n@nTP:~/git/deeplator$
thanks for fixing that in advance
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
i just installed deeplator to get around the Too many requests problem of https://github.com/vsetka/deepl-translator-cli/ ; but it seams to be the same:
thanks for fixing that in advance
The text was updated successfully, but these errors were encountered: