Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

CAPTCHA #18

Closed
michzio opened this issue Apr 8, 2015 · 7 comments
Closed

CAPTCHA #18

michzio opened this issue Apr 8, 2015 · 7 comments

Comments

@michzio
Copy link

michzio commented Apr 8, 2015

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

@Stichoza
Copy link
Owner

Stichoza commented Apr 8, 2015

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

@michzio
Copy link
Author

michzio commented Apr 8, 2015

screen shot 2015-04-08 at 23 57 10

@Stichoza
Copy link
Owner

Stichoza commented Apr 8, 2015

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.

@Stichoza
Copy link
Owner

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

Stichoza added a commit that referenced this issue Apr 10, 2015
@divinity76
Copy link

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

@alisher717
Copy link

gives such an error? https://skr.sh/sCADJpLwFwq?a

@alisher717
Copy link

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants