chore: rename auto-scraper to auto-fetcher

Improves the perception of ethics
This commit is contained in:
2026-04-01 09:50:53 +01:00
parent 1482e96051
commit 37d08c63b8
6 changed files with 22 additions and 22 deletions

View File

@@ -152,9 +152,9 @@ def get_dataset_sources():
return jsonify(list_metadata)
@app.route("/datasets/scrape", methods=["POST"])
@app.route("/datasets/fetch", methods=["POST"])
@jwt_required()
def scrape_data():
def fetch_data():
data = request.get_json()
connector_metadata = get_connector_metadata()

View File

@@ -11,7 +11,7 @@ from server.connectors.base import BaseConnector
logger = logging.getLogger(__name__)
HEADERS = {"User-Agent": "Mozilla/5.0 (compatible; ForumScraper/1.0)"}
HEADERS = {"User-Agent": "Mozilla/5.0 (compatible; ForumFetcher/1.0)"}
class BoardsAPI(BaseConnector):