Skip to content

Commit c7056f2

Browse files
committed
<-
1 parent 0c0173d commit c7056f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py_trans/async_translator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ async def translate(self, text, dest_lang="en"):
6262

6363
# Google Translate
6464
async def google_translate(self, text, dest_lang):
65-
r_url = f"https://clients5.google.com/translate_a/t?client=dict-chrome-ex&sl=auto&tl={dest_lang}&q={text}"
65+
r_url = f"https://clients5.google.com/translate_a/t?client=at&sl=auto&tl={dest_lang}&q={text}"
6666
try:
6767
async with ClientSession() as tr_ses:
6868
async with tr_ses.get(r_url) as get_req:

0 commit comments

Comments
 (0)