crawler-ai-analysis
Advanced tools
Comparing version 1.0.9 to 1.0.10
@@ -37,3 +37,3 @@ "use strict"; | ||
case 0: | ||
ctx.queueItem.aiAnalysisResult = segment.doSegment(ctx.queueItem.responseBodyText || "", { | ||
ctx.body.aiAnalysisResult = segment.doSegment(ctx.queueItem.responseBodyText || "", { | ||
stripPunctuation: true | ||
@@ -40,0 +40,0 @@ }); |
@@ -1,1 +0,1 @@ | ||
{"name":"crawler-ai-analysis","version":"1.0.9","description":"","main":"built/app.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","built":"babel -s -d built/ src/ "},"repository":{"type":"git","url":"https://github.com/nick121212/crawler-ai-analysis.git"},"author":"NICK","license":"MIT","devDependencies":{"babel-core":"^6.0.20","babel-plugin-syntax-async-functions":"^6.8.0","babel-plugin-transform-async-to-generator":"^6.8.0","babel-plugin-transform-runtime":"^6.12.0","babel-polyfill":"^6.0.16","babel-preset-es2015":"^6.13.1","babel-preset-es2015-node5":"^1.1.2","babel-preset-stage-0":"^6.5.0","babel-preset-stage-3":"^6.17.0","babel-register":"^6.4.3","babel-runtime":"^6.11.6","eslint-plugin-promise":"^3.4.0","eventsource-polyfill":"^0.9.6"},"dependencies":{"boom":"^4.2.0","lodash":"^4.17.2","node-segment":"0.0.2","segment":"^0.1.3"}} | ||
{"name":"crawler-ai-analysis","version":"1.0.10","description":"","main":"built/app.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","built":"babel -s -d built/ src/ "},"repository":{"type":"git","url":"https://github.com/nick121212/crawler-ai-analysis.git"},"author":"NICK","license":"MIT","devDependencies":{"babel-core":"^6.0.20","babel-plugin-syntax-async-functions":"^6.8.0","babel-plugin-transform-async-to-generator":"^6.8.0","babel-plugin-transform-runtime":"^6.12.0","babel-polyfill":"^6.0.16","babel-preset-es2015":"^6.13.1","babel-preset-es2015-node5":"^1.1.2","babel-preset-stage-0":"^6.5.0","babel-preset-stage-3":"^6.17.0","babel-register":"^6.4.3","babel-runtime":"^6.11.6","eslint-plugin-promise":"^3.4.0","eventsource-polyfill":"^0.9.6"},"dependencies":{"boom":"^4.2.0","lodash":"^4.17.2","node-segment":"0.0.2","segment":"^0.1.3"}} |
@@ -11,3 +11,3 @@ import Segment from "segment"; | ||
return async(ctx, next) => { | ||
ctx.queueItem.aiAnalysisResult = segment.doSegment(ctx.queueItem.responseBodyText || "", { | ||
ctx.body.aiAnalysisResult = segment.doSegment(ctx.queueItem.responseBodyText || "", { | ||
stripPunctuation: true | ||
@@ -14,0 +14,0 @@ }); |
Sorry, the diff of this file is not supported yet
4387