Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -18,14 +18,11 @@ logging.basicConfig(
|
|
18 |
|
19 |
# List of SearXNG instances to try
|
20 |
SEARXNG_INSTANCES = [
|
21 |
-
"https://search.inetol.net",
|
22 |
"https://northboot.xyz",
|
23 |
"https://search.hbubli.cc",
|
24 |
"https://searx.tiekoetter.com",
|
25 |
"https://search.bus-hit.me",
|
26 |
# Add more instances here
|
27 |
-
"https://another-instance.com",
|
28 |
-
"https://yet-another-instance.com",
|
29 |
]
|
30 |
|
31 |
def search_news(query, num_results=10, max_retries=3):
|
|
|
18 |
|
19 |
# List of SearXNG instances to try
|
20 |
SEARXNG_INSTANCES = [
|
|
|
21 |
"https://northboot.xyz",
|
22 |
"https://search.hbubli.cc",
|
23 |
"https://searx.tiekoetter.com",
|
24 |
"https://search.bus-hit.me",
|
25 |
# Add more instances here
|
|
|
|
|
26 |
]
|
27 |
|
28 |
def search_news(query, num_results=10, max_retries=3):
|