Arafath10 commited on
Commit
820e034
1 Parent(s): 0a3c535

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -52,9 +52,11 @@ def google(name):
52
  n=0
53
  for i in result:
54
  if n!=0:
55
- if i.isdigit():
56
- i = i.split(".",1)
57
- i = i[1]
 
 
58
  text = text +str(n)+"\t"+i+"\n\n"
59
  n=n+1
60
  return text
 
52
  n=0
53
  for i in result:
54
  if n!=0:
55
+ i = i.split("·",1)
56
+ try:
57
+ i = i[1]
58
+ except:
59
+ i = i[0]
60
  text = text +str(n)+"\t"+i+"\n\n"
61
  n=n+1
62
  return text