[googletranslate] fix : site is now only availbe using https

This commit is contained in:
Bezleputh 2014-05-07 23:19:27 +02:00 committed by Florent
commit 3bf04d6bc0

View file

@ -54,6 +54,6 @@ class GoogleTranslateBrowser(BaseBrowser):
'eotf': '1',
'text': text.encode('utf-8'),
}
self.location('http://'+self.DOMAIN, urllib.urlencode(d))
self.location('https://'+self.DOMAIN, urllib.urlencode(d))
translation = self.page.get_translation()
return translation