Open ku1ik opened 9 years ago
Thanks, I'm also getting this. Looks like google has started filtering out gotr
request.
The response from server has Our systems have detected unusual traffic from your computer network. This page checks to see if it's really you sending the requests, and not a robot.
:
> ./gotr en en foo
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head><meta http-equiv="content-type" content="text/html; charset=utf-8"><meta name="viewport" content="initial-scale=1"><title>https://translate.google.com/translate_a/t?client=t&hl=pl&ie=UTF-8&oe=UTF-8&prev=enter&sc=2&sl=en&ssel=0&text=fo
o&tl=en&tsel=0</title></head>
<body style="font-family: arial, sans-serif; background-color: #fff; color: #000; padding:20px; font-size:18px;" onload="e=document.getElementById('captcha');if(e){e.focus();}">
<div style="max-width:400px;">
<hr noshade size="1" style="color:#ccc; background-color:#ccc;"><br>
To continue, please type the characters below:<br><br>
<img src="/sorry/image?id=11856933217056485132&hl=en" border="1" alt="Please enable images"><br><br><form action="CaptchaRedirect" method="get"><input type="hidden" name="continue" value="https://translate.google.com/translate_a/t?client=t&hl=pl&ie=UTF-8&
;oe=UTF-8&prev=enter&sc=2&sl=en&ssel=0&text=foo&tl=en&tsel=0"><input type="hidden" name="id" value="11856933217056485132"><input type="text" name="captcha" value="" id="captcha" size="12" style="font-size:16px; padding:3px 0 3px 5px; margin-lef
t:0px;"><input type="submit" name="submit" value="Submit" style="font-size:18px; padding:4px 0;"><br><br><br></form>
<hr noshade size="1" style="color:#ccc; background-color:#ccc;">
<div style="font-size:13px;">
<b>About this page</b><br><br>Our systems have detected unusual traffic from your computer network. This page checks to see if it's really you sending the requests, and not a robot. <a href="#" onclick="document.getElementById('infoDiv').style.display='block';">
Why did this happen?</a><br><br>
<div id="infoDiv" style="display:none; background-color:#eee; padding:10px; margin:0 0 15px 0; line-height:1.4em;">
This page appears when Google automatically detects requests coming from your computer network which appear to be in violation of the <a href="//www.google.com/policies/terms/">Terms of Service</a>. The block will expire shortly after those requests stop. In the mea
ntime, solving the above CAPTCHA will let you continue to use our services.<br><br>This traffic may have been sent by malicious software, a browser plug-in, or a script that sends automated requests. If you share your network connection, ask your administrator for help &
mdash; a different computer using the same IP address may be responsible. <a href="//support.google.com/websearch/answer/86640">Learn more</a><br><br>Sometimes you may be asked to solve the CAPTCHA if you are using advanced terms that robots are known to use, or sending
requests very quickly.
</div>
IP address: 89.206.152.115<br>Time: 2015-04-08T18:30:52Z<br>URL: https://translate.google.com/translate_a/t?client=t&hl=pl&ie=UTF-8&oe=UTF-8&prev=enter&sc=2&sl=en&ssel=0&text=foo&tl=en&tsel=0<br>
</div>
</div>
</body>
</html>
panic: runtime error: index out of range
I'll investigate that further.
I started getting this error again today.
Hmm, looks like google has changed its API response. Will have a look tomorrow how much of pain it's gonna be to fix it.
Getting this error again today ;)
Damn, on hols for the next couple weeks, so no chance to have a look on it :/
On Mon, Oct 19, 2015 at 11:13 AM, Marcin Kulik notifications@github.com wrote:
Getting this error again today ;)
— Reply to this email directly or view it on GitHub https://github.com/sparrovv/gotr/issues/5#issuecomment-149174450.
Michal
Q: Why is this email five sentences or less? A: http://five.sentenc.es
Damn, we're all doomed. No worries, we'll live ;)
Here's what I get when using gotr today: