mcp-scraper 0.54.2 → 0.54.3
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.
- package/CHANGELOG.md +8 -1
- package/README.md +1 -1
- package/dist/bin/api-server.cjs +10 -3
- package/dist/bin/api-server.cjs.map +1 -1
- package/dist/bin/api-server.js +1 -1
- package/dist/bin/mcp-scraper-cli.cjs +1 -1
- package/dist/bin/mcp-scraper-cli.cjs.map +1 -1
- package/dist/bin/mcp-scraper-cli.js +1 -1
- package/dist/bin/mcp-scraper-install.cjs +1 -1
- package/dist/bin/mcp-scraper-install.cjs.map +1 -1
- package/dist/bin/mcp-scraper-install.js +1 -1
- package/dist/bin/mcp-stdio-server.cjs +1 -1
- package/dist/bin/mcp-stdio-server.cjs.map +1 -1
- package/dist/bin/mcp-stdio-server.js +2 -2
- package/dist/chunk-46ZEHHKK.js +7 -0
- package/dist/chunk-46ZEHHKK.js.map +1 -0
- package/dist/{chunk-47JKN332.js → chunk-SSRASBMZ.js} +2 -2
- package/dist/{server-SRQRVPHA.js → server-ALCMF35U.js} +12 -5
- package/dist/{server-SRQRVPHA.js.map → server-ALCMF35U.js.map} +1 -1
- package/package.json +1 -1
- package/dist/chunk-6JN6DKMY.js +0 -7
- package/dist/chunk-6JN6DKMY.js.map +0 -1
- /package/dist/{chunk-47JKN332.js.map → chunk-SSRASBMZ.js.map} +0 -0
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
registerScheduledResultsMcpTools,
|
|
14
14
|
registerSerpIntelligenceCaptureTools,
|
|
15
15
|
resolveDeploymentProfile
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-SSRASBMZ.js";
|
|
17
17
|
import "../chunk-2K74LVV7.js";
|
|
18
18
|
import "../chunk-BBI7RGOT.js";
|
|
19
19
|
import "../chunk-BXZDBKUE.js";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
} from "../chunk-HG3ZNOXB.js";
|
|
23
23
|
import {
|
|
24
24
|
PACKAGE_VERSION
|
|
25
|
-
} from "../chunk-
|
|
25
|
+
} from "../chunk-46ZEHHKK.js";
|
|
26
26
|
import "../chunk-VEQAPOOD.js";
|
|
27
27
|
import "../chunk-5UN33CGU.js";
|
|
28
28
|
import "../chunk-UXSCCXYY.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/version.ts"],"sourcesContent":["export const PACKAGE_VERSION = '0.54.3'\n"],"mappings":";AAAO,IAAM,kBAAkB;","names":[]}
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
} from "./chunk-BXZDBKUE.js";
|
|
22
22
|
import {
|
|
23
23
|
PACKAGE_VERSION
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-46ZEHHKK.js";
|
|
25
25
|
import {
|
|
26
26
|
MC_PER_CREDIT,
|
|
27
27
|
PAA_BASE_CREDITS,
|
|
@@ -15825,4 +15825,4 @@ export {
|
|
|
15825
15825
|
ScheduledResultsMcpExecutor,
|
|
15826
15826
|
registerScheduledResultsMcpTools
|
|
15827
15827
|
};
|
|
15828
|
-
//# sourceMappingURL=chunk-
|
|
15828
|
+
//# sourceMappingURL=chunk-SSRASBMZ.js.map
|
|
@@ -168,7 +168,7 @@ import {
|
|
|
168
168
|
resolveDeploymentProfile,
|
|
169
169
|
resolveLocalSourcebookSchemaType,
|
|
170
170
|
transcribeMediaUrl
|
|
171
|
-
} from "./chunk-
|
|
171
|
+
} from "./chunk-SSRASBMZ.js";
|
|
172
172
|
import {
|
|
173
173
|
auditImageUrls,
|
|
174
174
|
auditImages,
|
|
@@ -224,7 +224,7 @@ import {
|
|
|
224
224
|
} from "./chunk-FG6LJGJ7.js";
|
|
225
225
|
import {
|
|
226
226
|
PACKAGE_VERSION
|
|
227
|
-
} from "./chunk-
|
|
227
|
+
} from "./chunk-46ZEHHKK.js";
|
|
228
228
|
import {
|
|
229
229
|
abandonExtractSettlement,
|
|
230
230
|
countSuccessfulPages,
|
|
@@ -21627,7 +21627,9 @@ redditApp.post("/trending", createApiKeyAuth(), async (c) => {
|
|
|
21627
21627
|
query: serpQuery,
|
|
21628
21628
|
serpOnly: true,
|
|
21629
21629
|
proxyMode: "none",
|
|
21630
|
-
pages:
|
|
21630
|
+
pages: 1,
|
|
21631
|
+
maxAttempts: 1,
|
|
21632
|
+
maxQuestions: 1,
|
|
21631
21633
|
recency: body.window === "all" ? void 0 : body.window,
|
|
21632
21634
|
kernelApiKey: browserServiceApiKey(),
|
|
21633
21635
|
format: "json",
|
|
@@ -21638,7 +21640,12 @@ redditApp.post("/trending", createApiKeyAuth(), async (c) => {
|
|
|
21638
21640
|
candidates = extractRedditThreadUrls(serp.organicResults, body.maxThreads);
|
|
21639
21641
|
primaryDiscoveryDegraded = serp.diagnostics?.degradedResult === true;
|
|
21640
21642
|
primaryDegradationReasons = Array.isArray(serp.diagnostics?.degradationReasons) ? serp.diagnostics.degradationReasons.filter((reason) => typeof reason === "string") : [];
|
|
21641
|
-
} catch {
|
|
21643
|
+
} catch (error) {
|
|
21644
|
+
console.warn(JSON.stringify({
|
|
21645
|
+
event: "reddit_serp_discovery_failed",
|
|
21646
|
+
error_name: error instanceof Error ? error.name : "Error",
|
|
21647
|
+
message: error instanceof Error ? error.message : String(error)
|
|
21648
|
+
}));
|
|
21642
21649
|
candidates = [];
|
|
21643
21650
|
primaryDiscoveryDegraded = true;
|
|
21644
21651
|
primaryDegradationReasons = ["primary_serp_failed"];
|
|
@@ -46779,4 +46786,4 @@ app.get("/blog/:slug/", (c) => {
|
|
|
46779
46786
|
export {
|
|
46780
46787
|
app
|
|
46781
46788
|
};
|
|
46782
|
-
//# sourceMappingURL=server-
|
|
46789
|
+
//# sourceMappingURL=server-ALCMF35U.js.map
|