mcp-scraper 0.33.6 → 0.34.0

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.
Files changed (64) hide show
  1. package/README.md +2 -2
  2. package/dist/bin/api-server.cjs +13558 -12516
  3. package/dist/bin/api-server.cjs.map +1 -1
  4. package/dist/bin/api-server.js +3 -3
  5. package/dist/bin/mcp-scraper-cli.cjs +13 -2
  6. package/dist/bin/mcp-scraper-cli.cjs.map +1 -1
  7. package/dist/bin/mcp-scraper-cli.js +14 -4
  8. package/dist/bin/mcp-scraper-cli.js.map +1 -1
  9. package/dist/bin/mcp-scraper-install.cjs +2 -2
  10. package/dist/bin/mcp-scraper-install.cjs.map +1 -1
  11. package/dist/bin/mcp-scraper-install.js +2 -2
  12. package/dist/bin/mcp-stdio-server.cjs +117 -7
  13. package/dist/bin/mcp-stdio-server.cjs.map +1 -1
  14. package/dist/bin/mcp-stdio-server.js +7 -7
  15. package/dist/bin/paa-harvest.cjs +128 -13
  16. package/dist/bin/paa-harvest.cjs.map +1 -1
  17. package/dist/bin/paa-harvest.js +4 -4
  18. package/dist/{chunk-DUS4ENOY.js → chunk-2EDFOQD7.js} +2 -2
  19. package/dist/{chunk-DUS4ENOY.js.map → chunk-2EDFOQD7.js.map} +1 -1
  20. package/dist/{chunk-C2OD4ELT.js → chunk-3HBPKR5G.js} +2 -2
  21. package/dist/{chunk-A54ELKJK.js → chunk-4KQVIYIH.js} +139 -17
  22. package/dist/chunk-4KQVIYIH.js.map +1 -0
  23. package/dist/{chunk-AIK7WQD5.js → chunk-62DQAWPF.js} +141 -3
  24. package/dist/chunk-62DQAWPF.js.map +1 -0
  25. package/dist/{chunk-V73MPRU6.js → chunk-CB5C3BPB.js} +17 -1
  26. package/dist/chunk-CB5C3BPB.js.map +1 -0
  27. package/dist/{chunk-6ZUK4H66.js → chunk-J32XSMJI.js} +117 -8
  28. package/dist/chunk-J32XSMJI.js.map +1 -0
  29. package/dist/{chunk-LKIP7VDN.js → chunk-JBSGBSGT.js} +46 -3
  30. package/dist/chunk-JBSGBSGT.js.map +1 -0
  31. package/dist/chunk-NFMIHEYE.js +7 -0
  32. package/dist/chunk-NFMIHEYE.js.map +1 -0
  33. package/dist/{chunk-XL6YIWJ3.js → chunk-SUOHUXQS.js} +3 -3
  34. package/dist/{chunk-WJJTGRK4.js → chunk-V36LS5YV.js} +2 -2
  35. package/dist/{chunk-AT2PFWHW.js → chunk-ZID3WQID.js} +2 -2
  36. package/dist/{db-5SZQUI7A.js → db-YAI5AQOI.js} +16 -2
  37. package/dist/{extract-bundle-YNXTFCC3.js → extract-bundle-GPZRLBVY.js} +2 -2
  38. package/dist/index.cjs +128 -13
  39. package/dist/index.cjs.map +1 -1
  40. package/dist/index.d.cts +4 -1
  41. package/dist/index.d.ts +4 -1
  42. package/dist/index.js +4 -4
  43. package/dist/{server-SHOYO52X.js → server-LKVPEQFE.js} +1386 -778
  44. package/dist/server-LKVPEQFE.js.map +1 -0
  45. package/dist/{site-extract-repository-ZDTO7ODZ.js → site-extract-repository-JHMVHENZ.js} +4 -4
  46. package/dist/{worker-BJ64GCDE.js → worker-ZZHSYI3Y.js} +7 -7
  47. package/docs/mcp-tool-manifest.generated.json +213 -3
  48. package/package.json +1 -1
  49. package/dist/chunk-6ZUK4H66.js.map +0 -1
  50. package/dist/chunk-A54ELKJK.js.map +0 -1
  51. package/dist/chunk-AIK7WQD5.js.map +0 -1
  52. package/dist/chunk-F65IIUHI.js +0 -7
  53. package/dist/chunk-F65IIUHI.js.map +0 -1
  54. package/dist/chunk-LKIP7VDN.js.map +0 -1
  55. package/dist/chunk-V73MPRU6.js.map +0 -1
  56. package/dist/server-SHOYO52X.js.map +0 -1
  57. /package/dist/{chunk-C2OD4ELT.js.map → chunk-3HBPKR5G.js.map} +0 -0
  58. /package/dist/{chunk-XL6YIWJ3.js.map → chunk-SUOHUXQS.js.map} +0 -0
  59. /package/dist/{chunk-WJJTGRK4.js.map → chunk-V36LS5YV.js.map} +0 -0
  60. /package/dist/{chunk-AT2PFWHW.js.map → chunk-ZID3WQID.js.map} +0 -0
  61. /package/dist/{db-5SZQUI7A.js.map → db-YAI5AQOI.js.map} +0 -0
  62. /package/dist/{extract-bundle-YNXTFCC3.js.map → extract-bundle-GPZRLBVY.js.map} +0 -0
  63. /package/dist/{site-extract-repository-ZDTO7ODZ.js.map → site-extract-repository-JHMVHENZ.js.map} +0 -0
  64. /package/dist/{worker-BJ64GCDE.js.map → worker-ZZHSYI3Y.js.map} +0 -0
package/dist/index.d.cts CHANGED
@@ -24,6 +24,7 @@ declare const HarvestOptionsSchema: z.ZodObject<{
24
24
  format: z.ZodDefault<z.ZodEnum<["json", "csv", "both"]>>;
25
25
  serpOnly: z.ZodDefault<z.ZodBoolean>;
26
26
  pages: z.ZodDefault<z.ZodNumber>;
27
+ recency: z.ZodOptional<z.ZodEnum<["day", "week", "month", "year"]>>;
27
28
  softDeadlineMs: z.ZodOptional<z.ZodNumber>;
28
29
  }, "strip", z.ZodTypeAny, {
29
30
  query: string;
@@ -49,6 +50,7 @@ declare const HarvestOptionsSchema: z.ZodObject<{
49
50
  kernelApiKey?: string | undefined;
50
51
  kernelProxyId?: string | undefined;
51
52
  kernelProxyResolution?: unknown;
53
+ recency?: "day" | "week" | "month" | "year" | undefined;
52
54
  softDeadlineMs?: number | undefined;
53
55
  }, {
54
56
  query: string;
@@ -74,6 +76,7 @@ declare const HarvestOptionsSchema: z.ZodObject<{
74
76
  format?: "json" | "csv" | "both" | undefined;
75
77
  serpOnly?: boolean | undefined;
76
78
  pages?: number | undefined;
79
+ recency?: "day" | "week" | "month" | "year" | undefined;
77
80
  softDeadlineMs?: number | undefined;
78
81
  }>;
79
82
 
@@ -96,7 +99,7 @@ interface KernelLocationProxyTarget {
96
99
  zip?: string;
97
100
  };
98
101
  }
99
- type KernelProxyResolutionSource = 'disabled' | 'location_reused' | 'location_created' | 'isp_created' | 'configured_fallback' | 'unavailable';
102
+ type KernelProxyResolutionSource = 'disabled' | 'location_reused' | 'location_created' | 'isp_created' | 'backup_custom' | 'configured_fallback' | 'unavailable';
100
103
  interface KernelProxyResolutionDebug {
101
104
  source: KernelProxyResolutionSource;
102
105
  proxyType: string;
package/dist/index.d.ts CHANGED
@@ -24,6 +24,7 @@ declare const HarvestOptionsSchema: z.ZodObject<{
24
24
  format: z.ZodDefault<z.ZodEnum<["json", "csv", "both"]>>;
25
25
  serpOnly: z.ZodDefault<z.ZodBoolean>;
26
26
  pages: z.ZodDefault<z.ZodNumber>;
27
+ recency: z.ZodOptional<z.ZodEnum<["day", "week", "month", "year"]>>;
27
28
  softDeadlineMs: z.ZodOptional<z.ZodNumber>;
28
29
  }, "strip", z.ZodTypeAny, {
29
30
  query: string;
@@ -49,6 +50,7 @@ declare const HarvestOptionsSchema: z.ZodObject<{
49
50
  kernelApiKey?: string | undefined;
50
51
  kernelProxyId?: string | undefined;
51
52
  kernelProxyResolution?: unknown;
53
+ recency?: "day" | "week" | "month" | "year" | undefined;
52
54
  softDeadlineMs?: number | undefined;
53
55
  }, {
54
56
  query: string;
@@ -74,6 +76,7 @@ declare const HarvestOptionsSchema: z.ZodObject<{
74
76
  format?: "json" | "csv" | "both" | undefined;
75
77
  serpOnly?: boolean | undefined;
76
78
  pages?: number | undefined;
79
+ recency?: "day" | "week" | "month" | "year" | undefined;
77
80
  softDeadlineMs?: number | undefined;
78
81
  }>;
79
82
 
@@ -96,7 +99,7 @@ interface KernelLocationProxyTarget {
96
99
  zip?: string;
97
100
  };
98
101
  }
99
- type KernelProxyResolutionSource = 'disabled' | 'location_reused' | 'location_created' | 'isp_created' | 'configured_fallback' | 'unavailable';
102
+ type KernelProxyResolutionSource = 'disabled' | 'location_reused' | 'location_created' | 'isp_created' | 'backup_custom' | 'configured_fallback' | 'unavailable';
100
103
  interface KernelProxyResolutionDebug {
101
104
  source: KernelProxyResolutionSource;
102
105
  proxyType: string;
package/dist/index.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  harvest
3
- } from "./chunk-A54ELKJK.js";
3
+ } from "./chunk-4KQVIYIH.js";
4
4
  import {
5
5
  recordVendorUsage
6
- } from "./chunk-WJJTGRK4.js";
6
+ } from "./chunk-V36LS5YV.js";
7
7
  import "./chunk-K443GQY5.js";
8
- import "./chunk-V73MPRU6.js";
8
+ import "./chunk-CB5C3BPB.js";
9
9
  import "./chunk-M2S27J6Z.js";
10
- import "./chunk-AIK7WQD5.js";
10
+ import "./chunk-62DQAWPF.js";
11
11
 
12
12
  // src/video/VideoGenerator.ts
13
13
  import { execSync as execSync2 } from "child_process";