scrape_text
Extract text content from a specified URL and save it as a Markdown file using the Web Scraper MCP Server. Define the output directory or use the default location for structured text storage.
Instructions
从指定URL爬取网站的文本内容并保存为Markdown文件
Input Schema
Name | Required | Description | Default |
---|---|---|---|
outputDir | No | 文本保存目录(可选,默认为 ./scraped-text) | |
url | Yes | 要爬取文本的网站URL |
Input Schema (JSON Schema)
{
"properties": {
"outputDir": {
"description": "文本保存目录(可选,默认为 ./scraped-text)",
"type": "string"
},
"url": {
"description": "要爬取文本的网站URL",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}