[googletranslate] fix : site is now only availbe using https
This commit is contained in:
parent
236b9087a2
commit
3bf04d6bc0
1 changed files with 1 additions and 1 deletions
|
|
@ -54,6 +54,6 @@ class GoogleTranslateBrowser(BaseBrowser):
|
||||||
'eotf': '1',
|
'eotf': '1',
|
||||||
'text': text.encode('utf-8'),
|
'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()
|
translation = self.page.get_translation()
|
||||||
return translation
|
return translation
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue