Skip to content

Timeout issue #2824

Aug 23, 2023 · 7 comments · 4 replies
Discussion options

You must be logged in to vote

Try this

from googletrans import Translator
import httpx
translator = Translator(timeout=httpx.Timeout(0.00000001))

translator.client.get("https://google.com")  # timeout error

Worked for me

Replies: 7 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@chintan-donda
Comment options

Comment options

You must be logged in to vote
3 replies
@karpetrosyan
Comment options

@chintan-donda
Comment options

@karpetrosyan
Comment options

Answer selected by tomchristie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2823 on August 23, 2023 08:39.