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.
@@ -0,0 +1,7 @@
1
+ // src/version.ts
2
+ var PACKAGE_VERSION = "0.33.2";
3
+
4
+ export {
5
+ PACKAGE_VERSION
6
+ };
7
+ //# sourceMappingURL=chunk-ZGEEL2LR.js.map
@@ -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-JURXY3DP.js";
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-IASKABFL.js";
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
- return proxyMode === "location" ? MAPS_SEARCH_LOCATION_PROXY_MAX_ATTEMPTS : MAPS_SEARCH_MAX_ATTEMPTS;
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 >= 1 && attemptIndex < maxAttempts - 1,
14004
- forceDirectEgress: options.proxyMode === "none" && attemptIndex >= 1
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-RKAKXRAR.js.map
27770
+ //# sourceMappingURL=server-K7O2H3YZ.js.map