We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using HTTP mode with the UserAgentSelector, a list with the most common user-agents is retrieved from techblog.willshouse.com.
This options no longer works!
When running all tests, test_load_from_HTTP_nomock fails.
Sending the request manually returns an HTTP error code 503:
import google_translate reply = google_translate.utils.make_request(google_translate.UserAgentSelector.HTTP_URL) #Traceback (most recent call last): # File "<stdin>", line 1, in <module> # File "google_translate/utils.py", line 137, in make_request # raise error #urllib2.HTTPError: HTTP Error 503: Service Temporarily Unavailable
This is due to techblog being behind Cloudburst, which either blocks our requests or sends a redirection which our code does not know how to follow?
For now the workaround is to use UserAgentSelector with either user_agent or user_agent_file options. See this.
Not sure if i am going to fix this, anyway leaving this as a note.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When using HTTP mode with the UserAgentSelector, a list with the most common user-agents is retrieved from techblog.willshouse.com.
This options no longer works!
When running all tests, test_load_from_HTTP_nomock fails.
Sending the request manually returns an HTTP error code 503:
This is due to techblog being behind Cloudburst, which either blocks our requests or sends a redirection which our code does not know how to follow?
For now the workaround is to use UserAgentSelector with either user_agent or user_agent_file options. See this.
Not sure if i am going to fix this, anyway leaving this as a note.
The text was updated successfully, but these errors were encountered: