Spaces:
Runtime error
Runtime error
Commit
·
fe5d466
1
Parent(s):
0f843c9
Update app.py
Browse files
app.py
CHANGED
@@ -62,7 +62,7 @@ topic = st.text_input("Enter a topic (optional):")
|
|
62 |
entity = "Florida"
|
63 |
prefix = "https://wiki.kidzsearch.com/wiki/"
|
64 |
page = requests.get(f'{prefix}{entity}')
|
65 |
-
res = BeautifulSoup(page
|
66 |
|
67 |
text = [i.get_text() for i in res.find_all('p')]
|
68 |
|
|
|
62 |
entity = "Florida"
|
63 |
prefix = "https://wiki.kidzsearch.com/wiki/"
|
64 |
page = requests.get(f'{prefix}{entity}')
|
65 |
+
res = BeautifulSoup(page.content, 'html parser')
|
66 |
|
67 |
text = [i.get_text() for i in res.find_all('p')]
|
68 |
|