Closed Rapid1898-code closed 4 months ago
I'm getting this error too. Some SO posts I read point to it being a bad URL, but one commenter linked a PR that suggested the issue was fixed. Maybe it's resurfaced, or maybe this is something entirely new?
Hello,
@Rapid1898-code what kind of version of textblob are you using? Starting from the version 0.16.0 of textblob, as specified in the changelog (available here https://github.com/sloria/TextBlob/blob/dev/CHANGELOG.rst),
TextBlob.translate() and TextBlob.detect_language are deprecated. Use the official Google Translate API instead.
This might be the reason why you are getting this error.
Its because that textblob uses a website Click here to go on that page.
That is why you get this error.
You can use selenium or requests modules for web scraping to use google translator
translation and language detection have been removed from textblob. it is recommended to use the official google translate API instead.
Hello - i try to detect a language from a word with this code:
But unfortunately i get this error:
Why is that - am i doing anything wrong?