Comments (13)
Was working on this - not that easy...
from deepl-alfred-workflow2.
Best workaround: just get your own (free) API key and configure it in the workflow. See #20
from deepl-alfred-workflow2.
Same here unfortunately.
from deepl-alfred-workflow2.
I didn't mean to be critical, thank you for your work on this 👍
from deepl-alfred-workflow2.
Seems to work now. Please test.
from deepl-alfred-workflow2.
@AlexanderWillner better now. I am receiving less "too many requests" errors but sporatically I am receiving some errors. Not a critical issue because I got more successes than errors.
from deepl-alfred-workflow2.
@Acidham Is it somehow reproducible, e.g. based on some kind of input? Btw: The DeepL API is designed to translate up to 600 characters per minute and per customer
.
from deepl-alfred-workflow2.
@AlexanderWillner it happens just a few times and sporadically. I tried several combinations but the point in time when the error is thrown is different.
I assume the query is fired once the dot was entered, correct? If yes I did not reach request limits of 600.
I will run additional tests and narrow down the use case.
from deepl-alfred-workflow2.
Basically working.
from deepl-alfred-workflow2.
Reopening. Not easy. Also see:
Already looked into the DeepL App HTTPS requests. It's also using the jsonrpc - very similar to this code here. For now, I'm using the official app. But will include a solution if someone finds one.
from deepl-alfred-workflow2.
Too many requests
- solved by manually clearing cookies in the browser, even without changing the IP.
I asked a good friend to write (well, to be honest, to re-write) a browser plugin for instant insertion of text from the clipboard to the website of (any) translator. Maybe anyone is interested, because this is better than the official application
from deepl-alfred-workflow2.
And the most interesting thing is that the original plugin worked even without this super original 12 line code:
The original works only with DeepL and sticks the text in the page link after the last slash https://www.deepl.com/translator#ja/en/
For example, Google reloads the page from such an insert, which leads to the loss of the plugin's right to work and it must be reactivated manually.
from deepl-alfred-workflow2.
I experience the same problem...
[15:36:12.816] Deepl-Translate[Script Filter] Queuing argument 'ich habe hunger.' [15:36:13.342] Deepl-Translate[Script Filter] Script with argv '(null)' finished [15:36:13.371] Deepl-Translate[Script Filter] {"items": [{"uid": null,"arg": "Error: Too many requests","valid": "yes","autocomplete": "autocomplete","title": "Error: Too many requests"}]}
from deepl-alfred-workflow2.
Related Issues (20)
- Request support for Chinese language option HOT 4
- Doesn't work HOT 1
- No result HOT 12
- Does not translate, only removes whitespaces: "dl This is a test." becomes "Thisisatest"
- Don't like the auto-update feature. Please just notify me if I need an update. HOT 1
- „jq-dist“ OSX permisison error HOT 7
- Not installable on Monterey w. M1 Max HOT 1
- Issue: Invalid request for Chinese letters HOT 2
- With a pro account, where do I configure the API key? HOT 2
- 【feature request】Period/Dot as variable HOT 4
- [Alfred Gallery] User Configuration instead of Workflow Environment Variables
- Last character is removed in the translation HOT 1
- The original icon is not well recognized on dark skin, I replaced a new icon so that the user experience is better HOT 1
- Configurable target language
- It does nothing HOT 3
- Script with argv '(null)' finished HOT 21
- Error: Invalid API Key HOT 3
- Error setting swedish as target language
- Using "&" in sentence to be translated.
- Support for defining host
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 deepl-alfred-workflow2.