Arafath10 commited on
Commit
12655ff
·
1 Parent(s): 70a77fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -49,9 +49,10 @@ def google(name):
49
  if '<div class="BNeawe s3v9rd AP7Wnd"><div><div><div class="BNeawe s3v9rd AP7Wnd">' in str(info):
50
  if '›' not in str(info.text) :
51
  result.add(info.text)
52
- n=1
53
  for i in result:
54
- text = text +str(n)+"\t"+i+"\n\n"
 
55
  n=n+1
56
  return text
57
 
 
49
  if '<div class="BNeawe s3v9rd AP7Wnd"><div><div><div class="BNeawe s3v9rd AP7Wnd">' in str(info):
50
  if '›' not in str(info.text) :
51
  result.add(info.text)
52
+ n=0
53
  for i in result:
54
+ if n!==0:
55
+ text = text +str(n)+"\t"+i+"\n\n"
56
  n=n+1
57
  return text
58