Omnibus commited on
Commit
1331b43
1 Parent(s): 4070897

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -64,8 +64,11 @@ def details_fn(query):
64
  description = title
65
  out = f"""
66
  <center><h3>{title}</h3><br>{description}</center>"""
67
- images = soup.findall('img')
68
- print (images)
 
 
 
69
  return out
70
 
71
  def first():
 
64
  description = title
65
  out = f"""
66
  <center><h3>{title}</h3><br>{description}</center>"""
67
+ try:
68
+ images = soup.findAll('img')
69
+ print (images)
70
+ except Exeption as e:
71
+ print (e)
72
  return out
73
 
74
  def first():