Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ def qq():
|
|
16 |
return "no found"
|
17 |
|
18 |
def greet(name):
|
19 |
-
|
20 |
url = "https://www.google.com/search?q="+name
|
21 |
r = requests.get(url)
|
22 |
|
@@ -33,8 +33,8 @@ def greet(name):
|
|
33 |
result = info.getText()[180:]
|
34 |
result = result.split(".")
|
35 |
for s in result[:-20]:
|
36 |
-
p = p + s
|
37 |
-
|
38 |
return p
|
39 |
break
|
40 |
|
|
|
16 |
return "no found"
|
17 |
|
18 |
def greet(name):
|
19 |
+
|
20 |
url = "https://www.google.com/search?q="+name
|
21 |
r = requests.get(url)
|
22 |
|
|
|
33 |
result = info.getText()[180:]
|
34 |
result = result.split(".")
|
35 |
for s in result[:-20]:
|
36 |
+
p = p + s+"\n"
|
37 |
+
|
38 |
return p
|
39 |
break
|
40 |
|