Update app.py
Browse files
app.py
CHANGED
@@ -16,9 +16,9 @@ def selenium(prompt):
|
|
16 |
url = 'https://www.google.com/search?q=zugverbindung+bad+kissingen+euerdorf'
|
17 |
wd.get(url)
|
18 |
wd.implicitly_wait(10)
|
19 |
-
|
20 |
|
21 |
-
return
|
22 |
|
23 |
|
24 |
|
|
|
16 |
url = 'https://www.google.com/search?q=zugverbindung+bad+kissingen+euerdorf'
|
17 |
wd.get(url)
|
18 |
wd.implicitly_wait(10)
|
19 |
+
element = driver.find_element(By.ID, "exp0")
|
20 |
|
21 |
+
return element.text
|
22 |
|
23 |
|
24 |
|