Update scrape_and_format_hf_mcp_servers.py
Browse files
scrape_and_format_hf_mcp_servers.py
CHANGED
|
@@ -4,7 +4,7 @@ import re
|
|
| 4 |
import json
|
| 5 |
import time
|
| 6 |
from typing import List, Dict
|
| 7 |
-
|
| 8 |
# Define available sort options
|
| 9 |
SORT_OPTIONS = {
|
| 10 |
"relevance": {"label": "🎯 Relevance (Default)", "url_param": ""},
|
|
@@ -317,6 +317,7 @@ def test_scraper_locally():
|
|
| 317 |
|
| 318 |
else:
|
| 319 |
print("❌ No servers found. Check the scraping logic.")
|
|
|
|
| 320 |
|
| 321 |
def main():
|
| 322 |
"""Main scraping function."""
|
|
|
|
| 4 |
import json
|
| 5 |
import time
|
| 6 |
from typing import List, Dict
|
| 7 |
+
# Code by Nicolas larenas, NLarchive
|
| 8 |
# Define available sort options
|
| 9 |
SORT_OPTIONS = {
|
| 10 |
"relevance": {"label": "🎯 Relevance (Default)", "url_param": ""},
|
|
|
|
| 317 |
|
| 318 |
else:
|
| 319 |
print("❌ No servers found. Check the scraping logic.")
|
| 320 |
+
# Code by Nicolas larenas, NLarchive
|
| 321 |
|
| 322 |
def main():
|
| 323 |
"""Main scraping function."""
|