Spaces:
Build error
Build error
Commit ·
f8049e2
1
Parent(s): d324a64
Update app.py
Browse files
app.py
CHANGED
|
@@ -36,7 +36,7 @@ def cause(img):
|
|
| 36 |
url=f"https://www.planetnatural.com/pest-problem-solver/plant-disease/{res}/"
|
| 37 |
|
| 38 |
src = page.content
|
| 39 |
-
soup=BeautifulSoup(src, "
|
| 40 |
details=[]
|
| 41 |
for elem in soup.find_all("div",{'class':'post-entry'}):
|
| 42 |
ol = elem.find('ol')
|
|
|
|
| 36 |
url=f"https://www.planetnatural.com/pest-problem-solver/plant-disease/{res}/"
|
| 37 |
|
| 38 |
src = page.content
|
| 39 |
+
soup=BeautifulSoup(src, "html.parser")
|
| 40 |
details=[]
|
| 41 |
for elem in soup.find_all("div",{'class':'post-entry'}):
|
| 42 |
ol = elem.find('ol')
|