mcp-scraper 0.33.0 → 0.33.2
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/README.md +1 -1
- package/dist/bin/api-server.cjs +9 -6
- 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 +2 -2
- package/dist/bin/mcp-stdio-server.cjs.map +1 -1
- package/dist/bin/mcp-stdio-server.js +2 -2
- package/dist/{chunk-JURXY3DP.js → chunk-CC4VK5CR.js} +3 -3
- package/dist/{chunk-JURXY3DP.js.map → chunk-CC4VK5CR.js.map} +1 -1
- package/dist/chunk-ZGEEL2LR.js +7 -0
- package/dist/chunk-ZGEEL2LR.js.map +1 -0
- package/dist/{server-RKAKXRAR.js → server-K7O2H3YZ.js} +9 -6
- package/dist/{server-RKAKXRAR.js.map → server-K7O2H3YZ.js.map} +1 -1
- package/docs/mcp-tool-manifest.generated.json +2 -2
- package/package.json +1 -1
- package/dist/chunk-IASKABFL.js +0 -7
- package/dist/chunk-IASKABFL.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/version.ts"],"sourcesContent":["export const PACKAGE_VERSION = '0.33.2'\n"],"mappings":";AAAO,IAAM,kBAAkB;","names":[]}
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
sanitizeAttempts,
|
|
36
36
|
sanitizeHarvestResult,
|
|
37
37
|
transcribeMediaUrl
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-CC4VK5CR.js";
|
|
39
39
|
import {
|
|
40
40
|
auditImages,
|
|
41
41
|
buildLinkReport,
|
|
@@ -76,7 +76,7 @@ import {
|
|
|
76
76
|
RawMapsOverviewSchema,
|
|
77
77
|
RawMapsReviewStatsSchema
|
|
78
78
|
} from "./chunk-V73MPRU6.js";
|
|
79
|
-
import "./chunk-
|
|
79
|
+
import "./chunk-ZGEEL2LR.js";
|
|
80
80
|
import {
|
|
81
81
|
completeExtractJob,
|
|
82
82
|
countSuccessfulPages,
|
|
@@ -13886,6 +13886,7 @@ var MapsExtractor = class {
|
|
|
13886
13886
|
|
|
13887
13887
|
// src/maps-search-rotation.ts
|
|
13888
13888
|
var MAPS_SEARCH_MAX_ATTEMPTS = 3;
|
|
13889
|
+
var MAPS_SEARCH_NONE_MAX_ATTEMPTS = 7;
|
|
13889
13890
|
var MAPS_SEARCH_LOCATION_PROXY_MAX_ATTEMPTS = 5;
|
|
13890
13891
|
var MapsSearchRotationError = class extends Error {
|
|
13891
13892
|
constructor(message, attempts, retryable, errorCode = "maps_search_failed") {
|
|
@@ -13900,7 +13901,9 @@ var MapsSearchRotationError = class extends Error {
|
|
|
13900
13901
|
name = "MapsSearchRotationError";
|
|
13901
13902
|
};
|
|
13902
13903
|
function mapsSearchMaxAttemptsForProxyMode(proxyMode) {
|
|
13903
|
-
|
|
13904
|
+
if (proxyMode === "location") return MAPS_SEARCH_LOCATION_PROXY_MAX_ATTEMPTS;
|
|
13905
|
+
if (proxyMode === "none") return MAPS_SEARCH_NONE_MAX_ATTEMPTS;
|
|
13906
|
+
return MAPS_SEARCH_MAX_ATTEMPTS;
|
|
13904
13907
|
}
|
|
13905
13908
|
function mapsSearchErrorMessage(err) {
|
|
13906
13909
|
return sanitizeVendorName(err instanceof Error ? err.message : String(err));
|
|
@@ -14000,8 +14003,8 @@ async function runMapsSearchWithRotation(options) {
|
|
|
14000
14003
|
proxyZip,
|
|
14001
14004
|
kernelProxyId: options.proxyMode === "none" ? void 0 : resolution.kernelProxyId,
|
|
14002
14005
|
kernelProxyResolution: resolution.resolution,
|
|
14003
|
-
serpRedirect: options.proxyMode === "none" && attemptIndex >=
|
|
14004
|
-
forceDirectEgress: options.proxyMode === "none" && attemptIndex >=
|
|
14006
|
+
serpRedirect: options.proxyMode === "none" && attemptIndex >= 2 && attemptIndex < 6,
|
|
14007
|
+
forceDirectEgress: options.proxyMode === "none" && attemptIndex >= 4
|
|
14005
14008
|
};
|
|
14006
14009
|
const isHeadfulEscalation = attemptIndex === maxAttempts - 1;
|
|
14007
14010
|
const baseCtx = currentCostContext();
|
|
@@ -27764,4 +27767,4 @@ app.get("/blog/:slug/", (c) => {
|
|
|
27764
27767
|
export {
|
|
27765
27768
|
app
|
|
27766
27769
|
};
|
|
27767
|
-
//# sourceMappingURL=server-
|
|
27770
|
+
//# sourceMappingURL=server-K7O2H3YZ.js.map
|