zyddnys / manga-image-translator

Translate manga/image 一键翻译各类图片内文字 https://cotrans.touhou.ai/
https://cotrans.touhou.ai/
GNU General Public License v3.0
5.3k stars 544 forks source link

[REQUEST] Use DeepL translator from their website without access to their API #84

Open Oblivious02 opened 2 years ago

Oblivious02 commented 2 years ago

Sadly, I cannot make a free nor a paid account on DeepL since I'm in a country that's not supported by it, and using google translate to translate from JP to ENG is just really terrible. Fortunately, I can use the translator available available on their website https://www.deepl.com/translator , so is there a way you could implement a code that just accesses this free translator and fetches the translated text?

The program is so far magical, thanks!

ElonGaties commented 2 years ago

This is possible, but also in someway probably illegal or against the TOS of DeepL.

Speaking of which my instance of the translator does do what you ask, so if you wish to have the code please contact me directly via Github.

Kazer67 commented 1 year ago

It probably would break their Term of Service.

They offer a free tier where you can request 500,000 words / month through their API but you WILL need to do a credit/debit card validation (transaction of $0 / 0€) to "prevent abuse" so if it isn't even available in your country, then you're out of luck (because even with a VPN, the card requirement will block you).

Anything is possible with today technology and it could be made to query the website directly like an user but you would probably be banned rather quickly by their servers.