Skip to content

Commit

Permalink
use new field save_startpages for crawl started from hybro
Browse files Browse the repository at this point in the history
  • Loading branch information
boogheta committed Oct 21, 2021
1 parent aee57a7 commit 40e9ab8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/actions/webentities.js
Expand Up @@ -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 } })
Expand Down

0 comments on commit 40e9ab8

Please sign in to comment.