scrapeunblocker-mcp 0.12.4 → 0.12.5
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/dist/index.js +2 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -8955,7 +8955,7 @@ ${body}`);
|
|
|
8955
8955
|
}
|
|
8956
8956
|
|
|
8957
8957
|
// src/index.ts
|
|
8958
|
-
var VERSION = "0.12.
|
|
8958
|
+
var VERSION = "0.12.5";
|
|
8959
8959
|
var DEFAULT_BASE_URL = "https://api.scrapeunblocker.com";
|
|
8960
8960
|
var API_KEY_HEADER = "x-scrapeunblocker-key";
|
|
8961
8961
|
function resolveApiKey() {
|
|
@@ -8972,7 +8972,7 @@ function client() {
|
|
|
8972
8972
|
const apiKey = resolveApiKey();
|
|
8973
8973
|
if (!apiKey) throw new Error(MISSING_KEY_MESSAGE);
|
|
8974
8974
|
const baseUrl = process.env.SCRAPEUNBLOCKER_BASE_URL || void 0;
|
|
8975
|
-
return new ScrapeUnblockerClient({ apiKey, baseUrl });
|
|
8975
|
+
return new ScrapeUnblockerClient({ apiKey, baseUrl, userAgent: `scrapeunblocker-mcp/${VERSION}` });
|
|
8976
8976
|
}
|
|
8977
8977
|
function errorText(err) {
|
|
8978
8978
|
if (err instanceof Error) return err.message;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "scrapeunblocker-mcp",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.5",
|
|
4
4
|
"mcpName": "com.scrapeunblocker/scrapeunblocker-mcp",
|
|
5
5
|
"description": "Model Context Protocol (MCP) server for ScrapeUnblocker - lets Claude fetch any web page's HTML (or AI-parsed JSON) and run 100+ site plugins that return structured JSON, through the ScrapeUnblocker anti-bot API, using your own API key.",
|
|
6
6
|
"keywords": [
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@modelcontextprotocol/sdk": "^1.32.1",
|
|
47
|
-
"scrapeunblocker": "^0.
|
|
47
|
+
"scrapeunblocker": "^0.18.4",
|
|
48
48
|
"zod": "^4.6.7"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|