recker 1.0.93-next.40856cc → 1.0.93-next.ecac5c4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -868,6 +868,9 @@ export class Spider {
|
|
|
868
868
|
await this.crawlStorage.saveResult(nonHtmlResult);
|
|
869
869
|
this._resultCount++;
|
|
870
870
|
this.options.onPage?.(nonHtmlResult);
|
|
871
|
+
if (this.options.onPageWithHtml && html) {
|
|
872
|
+
await this.options.onPageWithHtml(nonHtmlResult, html);
|
|
873
|
+
}
|
|
871
874
|
return;
|
|
872
875
|
}
|
|
873
876
|
const doc = await ScrapeDocument.create(html, {
|
package/dist/scrape/spider.js
CHANGED
|
@@ -868,6 +868,9 @@ export class Spider {
|
|
|
868
868
|
await this.crawlStorage.saveResult(nonHtmlResult);
|
|
869
869
|
this._resultCount++;
|
|
870
870
|
this.options.onPage?.(nonHtmlResult);
|
|
871
|
+
if (this.options.onPageWithHtml && html) {
|
|
872
|
+
await this.options.onPageWithHtml(nonHtmlResult, html);
|
|
873
|
+
}
|
|
871
874
|
return;
|
|
872
875
|
}
|
|
873
876
|
const doc = await ScrapeDocument.create(html, {
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "recker",
|
|
3
|
-
"version": "1.0.93-next.
|
|
3
|
+
"version": "1.0.93-next.ecac5c4",
|
|
4
4
|
"description": "Multi-Protocol SDK for the AI Era - HTTP, WebSocket, DNS, FTP, SFTP, Telnet, HLS unified with AI providers and MCP tools",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|