From 40e9ab8b638bfcde374c52c184afd49412c35cb2 Mon Sep 17 00:00:00 2001 From: Benjamin Ooghe-Tabanou Date: Thu, 21 Oct 2021 18:48:28 +0200 Subject: [PATCH] use new field save_startpages for crawl started from hybro --- app/actions/webentities.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/actions/webentities.js b/app/actions/webentities.js index 89cadab..ce08dd1 100644 --- a/app/actions/webentities.js +++ b/app/actions/webentities.js @@ -400,7 +400,7 @@ export const saveAdjustedWebentity = ({ serverUrl, corpusId, webentity, adjust, const depth = options && options.depthHypheBro || CRAWL_DEPTH const cookies = (getState().tabs.activeTab.cookies || []).map(c => c.name + '=' + c.value).join('; ') || null - return jsonrpc(serverUrl)('crawl_webentity_with_startmode', {webentity_id: id, depth, phantom_crawl: false, status: 'IN', startmode: 'default', cookies_string: cookies, phantom_timeouts: {}, corpus: corpusId}) + return jsonrpc(serverUrl)('crawl_webentity_with_startmode', {webentity_id: id, depth, phantom_crawl: false, status: 'IN', startmode: 'default', cookies_string: cookies, phantom_timeouts: {}, save_startpages: true, corpus: corpusId}) .then(() => { // Broadcast the information that webentity's status has been updated dispatch({ type: SET_WEBENTITY_STATUS_SUCCESS, payload: { serverUrl, corpusId, status: 'IN', webentityId: id } })