nidhal baccouri
commited on
Commit
·
6cfdf62
1
Parent(s):
8891d45
updated translate_batch
Browse files
deep_translator/google_trans.py
CHANGED
@@ -98,6 +98,7 @@ class GoogleTranslator(BaseTranslator):
|
|
98 |
raise RequestError()
|
99 |
|
100 |
soup = BeautifulSoup(response.text, 'html.parser')
|
|
|
101 |
element = soup.find(self._element_tag, self._element_query)
|
102 |
|
103 |
if not element:
|
|
|
98 |
raise RequestError()
|
99 |
|
100 |
soup = BeautifulSoup(response.text, 'html.parser')
|
101 |
+
|
102 |
element = soup.find(self._element_tag, self._element_query)
|
103 |
|
104 |
if not element:
|