Update app.py
Browse files
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=
|
| 53 |
for i in result:
|
| 54 |
-
|
|
|
|
| 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 |
|