Re: Generate a Google Translate API token through the Socks5 proxy using gtoken.py

2021-07-30 Thread Dennis Lee Bieber
On Fri, 30 Jul 2021 13:17:50 +0200, Peter Otten <__pete...@web.de> declaimed the following: > >https://mail.python.org/pipermail/python-list/2021-July/902975.html > >You are now officially archived ;) Pity the choice was the boolean "X-No-Archive"... Consensus implementation of an "X-Expi

Re: Generate a Google Translate API token through the Socks5 proxy using gtoken.py

2021-07-30 Thread Peter Otten
On 29/07/2021 17:43, Dennis Lee Bieber wrote: On Thu, 29 Jul 2021 15:45:26 +0200, Peter Otten <__pete...@web.de> declaimed the following: On 28/07/2021 18:40, Dennis Lee Bieber wrote: On Wed, 28 Jul 2021 09:04:40 +0200, Peter Otten <__pete...@web.de> declaimed the following: Perhaps it has

Re: Generate a Google Translate API token through the Socks5 proxy using gtoken.py

2021-07-29 Thread Dennis Lee Bieber
On Thu, 29 Jul 2021 15:45:26 +0200, Peter Otten <__pete...@web.de> declaimed the following: >On 28/07/2021 18:40, Dennis Lee Bieber wrote: >> On Wed, 28 Jul 2021 09:04:40 +0200, Peter Otten <__pete...@web.de> >> declaimed the following: >> >>> >>> Perhaps it has something to do with the X-No-Arch

Re: Generate a Google Translate API token through the Socks5 proxy using gtoken.py

2021-07-29 Thread Peter Otten
On 28/07/2021 18:40, Dennis Lee Bieber wrote: On Wed, 28 Jul 2021 09:04:40 +0200, Peter Otten <__pete...@web.de> declaimed the following: Perhaps it has something to do with the X-No-Archive flag set by Dennis? According to my properties page in Agent, I've turned that off except if

Re: Generate a Google Translate API token through the Socks5 proxy using gtoken.py

2021-07-28 Thread hongy...@gmail.com
On Wednesday, July 28, 2021 at 3:05:11 PM UTC+8, Peter Otten wrote: > On 28/07/2021 07:32, Cameron Simpson wrote: > > On 27Jul2021 19:24, Hongyi Zhao wrote: > >> On Wednesday, July 28, 2021 at 7:25:27 AM UTC+8, cameron...@gmail.com > >> wrote: > >>> Just to follow on a bit to Dennis: > >> > >

Re: Generate a Google Translate API token through the Socks5 proxy using gtoken.py

2021-07-28 Thread Peter Otten
On 28/07/2021 07:32, Cameron Simpson wrote: On 27Jul2021 19:24, Hongyi Zhao wrote: On Wednesday, July 28, 2021 at 7:25:27 AM UTC+8, cameron...@gmail.com wrote: Just to follow on a bit to Dennis: But I can't any reply from Dennis in this issue. Odd, because I replied to his reply to you :-)

Re: Generate a Google Translate API token through the Socks5 proxy using gtoken.py

2021-07-27 Thread Cameron Simpson
On 27Jul2021 19:24, Hongyi Zhao wrote: >On Wednesday, July 28, 2021 at 7:25:27 AM UTC+8, cameron...@gmail.com wrote: >> Just to follow on a bit to Dennis: > >But I can't any reply from Dennis in this issue. Odd, because I replied to his reply to you :-) If you're using a threaded view of the lis

Re: Generate a Google Translate API token through the Socks5 proxy using gtoken.py

2021-07-27 Thread hongy...@gmail.com
On Wednesday, July 28, 2021 at 7:25:27 AM UTC+8, cameron...@gmail.com wrote: > Just to follow on a bit to Dennis: But I can't any reply from Dennis in this issue. > C:\Users\Wulfraed\Documents\_Hg-Repositories\Python Progs>python > googletrans_test.py > Traceback (most recent call last): > F

Re: Generate a Google Translate API token through the Socks5 proxy using gtoken.py

2021-07-27 Thread Cameron Simpson
Just to follow on a bit to Dennis: C:\Users\Wulfraed\Documents\_Hg-Repositories\Python Progs>python googletrans_test.py Traceback (most recent call last): File "googletrans_test.py", line 4, in tk = acquirer.do(text) File "C:\Python38\lib\site-packages\googletrans\

Generate a Google Translate API token through the Socks5 proxy using gtoken.py

2021-07-27 Thread hongy...@gmail.com
I want to use [gtoken.py](https://github.com/ssut/py-googletrans/blob/master/googletrans/gtoken.py) through a socks5 proxy. Based on the comment [here](https://github.com/encode/httpx/issues/203#issuecomment-611914974) and the example usage in [gtoken.py](https://github.com/ssut/py-googletrans