Update utils (#102)
This commit is contained in:
parent
194d65a2e2
commit
4aebfb18fa
@ -1,6 +1,6 @@
|
|||||||
"""Free Google Translate API for Python. Translates totally free of charge."""
|
"""Free Google Translate API for Python. Translates totally free of charge."""
|
||||||
__all__ = 'Translator',
|
__all__ = 'Translator',
|
||||||
__version__ = '2.4.0'
|
__version__ = '2.4.1'
|
||||||
|
|
||||||
|
|
||||||
from googletrans.client import Translator
|
from googletrans.client import Translator
|
||||||
|
@ -6,7 +6,7 @@ import json
|
|||||||
|
|
||||||
def build_params(query, src, dest, token):
|
def build_params(query, src, dest, token):
|
||||||
params = {
|
params = {
|
||||||
'client': 't',
|
'client': 'webapp',
|
||||||
'sl': src,
|
'sl': src,
|
||||||
'tl': dest,
|
'tl': dest,
|
||||||
'hl': dest,
|
'hl': dest,
|
||||||
|
Loading…
Reference in New Issue
Block a user