Skip to content

Commit

Permalink
fix cookies string sent from HyBro (closes #88)
Browse files Browse the repository at this point in the history
  • Loading branch information
boogheta committed Oct 21, 2021
1 parent 5d07a0e commit aee57a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/actions/webentities.js
Expand Up @@ -398,7 +398,7 @@ export const saveAdjustedWebentity = ({ serverUrl, corpusId, webentity, adjust,
const id = prefixChanged ? head.id : webentity.id
const { options } = getState().corpora.status.corpus
const depth = options && options.depthHypheBro || CRAWL_DEPTH
const cookies = (getState().tabs.activeTab.cookies || []).map(c => c.name + ': ' + c.value).join('; ') || null
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})
.then(() => {
Expand Down

0 comments on commit aee57a7

Please sign in to comment.