lushan88a / google_trans_new

A free and unlimited python API for google translate.
MIT License
393 stars 170 forks source link

is this really free and unlimited? #20

Open ashishalakhani opened 3 years ago

ashishalakhani commented 3 years ago

Can i make unlimited requests for getting translated text and won't be blocked by google?

how is this different from googletrans 3.0.0 package?

ashishalakhani commented 3 years ago

Are there any rate limits like number of request / day etc that we need to be aware of?

lushan88a commented 3 years ago

This lib are no restrictions on rate and quantity .

bjquinniii commented 3 years ago

Maybe not in the lib, but there definitely are rate limit requests at the Google end. If you do too many, too quickly from a single IP address, you will get blocked. The block lasts a pretty serious chunk of time (I think it's about 8 hours), but it will eventually reset. In my code I added a 2 sec delay between requests and have not been blocked since. I may set up some squid proxies so I can rotate through a few different IPs if I really need to bump up my throughput, but haven't yet.

On the "free" part, yes, free.