Stichoza/google-translate-php

CAPTCHA

michzio opened this issue · 7 comments

I think there is captcha problem when making frequent calls from given ip address

Can you provide any example? screenshots, error messages, anything

Yup, Google Translate is a paid API. So Google will eventually block your IP or ask to solve Captcha to proceed with frequent requests. Try to change this package and pull in fzaninotto/faker to send requests with random User Agent headers. I'm pretty sure Google will still require captcha.

This is not a production ready package, it's just a workaround. See readme#disclaimer.

I guess this issue can be closed. I'll link this in readme.

do we at least throw some kind of \RuntimeException when this happens?

How to solve this problem. works then, does not work, after a while works again