mgokg commited on
Commit
a347beb
·
verified ·
1 Parent(s): 1129a27

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -145,7 +145,7 @@ with gr.Blocks() as demo:
145
  kontakt = []
146
  for verein in links_text:
147
  url = f"https://www.google.com/search?q=impressum+{verein}"
148
- response = requests.get(link)
149
  response.raise_for_status()
150
  soup = BeautifulSoup(response.content, 'html.parser')
151
  detail = soup.select_one('#rso > div:nth-child(1) > div')
 
145
  kontakt = []
146
  for verein in links_text:
147
  url = f"https://www.google.com/search?q=impressum+{verein}"
148
+ response = requests.get(url)
149
  response.raise_for_status()
150
  soup = BeautifulSoup(response.content, 'html.parser')
151
  detail = soup.select_one('#rso > div:nth-child(1) > div')