Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -149,8 +149,9 @@ with gr.Blocks() as demo:
|
|
149 |
response = requests.get(url)
|
150 |
response.raise_for_status()
|
151 |
soup = BeautifulSoup(response.content, 'html.parser')
|
152 |
-
detail = soup.
|
153 |
-
|
|
|
154 |
|
155 |
|
156 |
return kontakt
|
|
|
149 |
response = requests.get(url)
|
150 |
response.raise_for_status()
|
151 |
soup = BeautifulSoup(response.content, 'html.parser')
|
152 |
+
detail = soup.find("div", class_= "A6K0A")
|
153 |
+
#detail = soup.select_one('#rso > div:nth-child(1)')
|
154 |
+
kontakt.append(detail.text)
|
155 |
|
156 |
|
157 |
return kontakt
|