From 9408e45fc8e565efeeac25d2f1e43abf90f27526 Mon Sep 17 00:00:00 2001 From: Bishwas Praveen Date: Wed, 25 Sep 2024 13:44:13 -0500 Subject: [PATCH] get URLs from scrapers folder for LRM servers --- sde_collections/sinequa_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sde_collections/sinequa_api.py b/sde_collections/sinequa_api.py index 1c0a663f..0e4c3b62 100644 --- a/sde_collections/sinequa_api.py +++ b/sde_collections/sinequa_api.py @@ -94,7 +94,7 @@ def query(self, page: int, collection_config_folder: str = "") -> Any: } if collection_config_folder: - if self.server_name == "lis_server": + if self.server_name in ["lis_server", "lrm_dev_server", "lrm_qa_server"]: payload["query"]["advanced"]["collection"] = f"/scrapers/{collection_config_folder}/" else: payload["query"]["advanced"]["collection"] = f"/SDE/{collection_config_folder}/"