Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,13 +9,6 @@ import requests
|
|
| 9 |
from time import time as t
|
| 10 |
import os
|
| 11 |
|
| 12 |
-
os.system("pip install webscout")
|
| 13 |
-
from webscout import DDGS
|
| 14 |
-
|
| 15 |
-
with DDGS() as ddgs:
|
| 16 |
-
results = [r for r in ddgs.text("python programming", max_results=500)]
|
| 17 |
-
print(results)
|
| 18 |
-
|
| 19 |
app = Flask(__name__)
|
| 20 |
|
| 21 |
|
|
|
|
| 9 |
from time import time as t
|
| 10 |
import os
|
| 11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
app = Flask(__name__)
|
| 13 |
|
| 14 |
|