Omnibus commited on
Commit
dc067a5
·
1 Parent(s): c69bac0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +51,7 @@ def find_it(url,q=None,num=None):
51
 
52
  for p in soup.find_all(f'{q}'):
53
  try:
54
- print(soup.select(f'{p}:first-child'))
55
  #print(p.findChildren())
56
  except Exception as e:
57
  print (e)
 
51
 
52
  for p in soup.find_all(f'{q}'):
53
  try:
54
+ print(soup.select(f'{p.name}:first-child'))
55
  #print(p.findChildren())
56
  except Exception as e:
57
  print (e)