llm-scraperjavascriptjson
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "llm-scraperjavascriptjson" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-a2af6762a7c689846097cf4a904adee74c08bb8e85e7951b0a42e90149a35931. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/extract-schema-shaped-json-from-javascript-rendered-pages-with-llm-scraper before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Open a rendered page, describe the fields you want, and return structured data without manually maintaining fragile selectors.
Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Software, accounts and paid services
- Node.js, Playwright-compatible browser runtime, llm-scraper package, supported LLM provider credentials, target URLs
- Testing
- Not tested
Browse files
Frontmatter
name: "使用 llm-scraper 从 JavaScript 渲染的页面中提取模式化的 JSON 数据"
slug: "extract-schema-shaped-json-from-javascript-rendered-pages-with-llm-scraper"
version: "1.0.0"
displayName: "使用 llm-scraper 从 JavaScript 渲染的页面中提取模式化的 JSON 数据"
summary: "打开一个渲染后的页面,描述你想要的字段,并返回结构化数据,而无需手动维护脆弱的选择器。
```"
license: "MIT"
description: "打开一个渲染后的页面,描述你想要的字段,并返回结构化数据,而无需手动维护脆弱的选择器。
```"
github_stars: 6260
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
publisher_type: "individual"
category: "Research & Scraping"
framework: "Multi-Framework"
tool_ecosystem:
github_repo: "1991513ccie-png/skills"
github_stars: 6260
npm_package: "llm-scraper"
npm_weekly_downloads: 3803使用 llm-scraper 从 JavaScript 渲染的页面中提取模式化的 JSON 数据
Open a rendered page, describe the fields you want, and return structured data without hand-maintaining brittle selectors.
Prerequisites
Node.js, Playwright-compatible browser runtime, llm-scraper package, supported LLM provider credentials, target URLs
Installation
Use the upstream install or setup path that matches your environment:
- npm i zod playwright llm-scraper
- npm i @ai-sdk/openai
- npm i @ai-sdk/anthropic
- npm i @ai-sdk/google
Basic usage or getting-started notes:
-
Install the required dependencies from npm:
-
Initialize your LLM:
-
OpenAI
-
Extracted from upstream docs: https://raw.githubusercontent.com/mishushakov/llm-scraper/HEAD/README.md
Documentation
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Areas to improve
-
功能描述较为基础 Reported severity: Minor
Skill 提供了基础的网页数据提取能力,但未展示复杂用例或高级特性,实用性有一定局限。
Recommendation: 建议补充高级使用场景示例,如处理分页、动态加载内容、错误重试机制等,以提升实用价值。
Highlights
- 解决 JavaScript 渲染页面数据抓取的核心痛点
- 无需手动维护脆弱的选择器,降低维护成本
- 适用于研究、数据分析等广泛场景
Highlights
- description 清晰描述了核心功能:打开渲染页面、描述字段、返回结构化数据
- 触发词覆盖合理,能有效引导用户理解 Skill 用途
Areas to improve
-
缺少详细的 Phase/步骤划分 Reported severity: Minor
文档仅包含 Prerequisites、Installation 等基本结构,缺乏详细的执行步骤划分。
Recommendation: 建议添加 Phase 1/2/3 等明确步骤,包括页面加载、字段描述、数据提取等阶段。
-
缺少端到端示例 Reported severity: Minor
文档未提供完整的端到端使用示例,用户难以快速上手。
Recommendation: 建议添加一个完整的示例,展示从安装到提取数据的完整流程。
Highlights
- frontmatter 完整,包含必要的元数据信息
- 基本结构清晰,包含 Prerequisites、Installation、Documentation 等章节
Areas to improve
-
主要异常未处理 Reported severity: Major
未覆盖网络错误、LLM 调用失败、页面加载失败等主要异常情况。
Recommendation: 建议添加异常处理机制,如重试逻辑、错误日志记录、降级方案等。
Highlights
- 工具来源明确,列出了必要的依赖安装命令
- 支持多种 LLM 提供商(OpenAI、Anthropic、Google)
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 36, 37, 38, 39 -
Accounts, secrets or authorization
Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.
Mentioned in main document · lines 31
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- github.com
- raw.githubusercontent.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Node.js, Playwright-compatible browser runtime, llm-scraper package, supported LLM provider credentials, target URLs
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.