Skip to content
Back to skills

Scrape Web

ASecurity

使用 Python + Scrapling 获取网页内容,支持简单选择器

  • 11 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 10, 2026
toolspythonbash

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned September 10, 2026

npx -y skills add luokai0/ai-agent-skills-by-luo-kai --skill scrape-web --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Scrape Web?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Scrape Web
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/luokai0-scrape-web/badge)](https://www.skillsdirectory.com/skills/luokai0-scrape-web)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
---
name: scrape-web
description: "使用 Python + Scrapling 获取网页内容,支持简单选择器"
version: "1.1.0"
tags:
  - python
  - scrape
  - web
requires:
  tools: ["exec"]
  env: ["python"]
---

# Scrape Web Skill

使用 Scrapling 获取网页内容,返回纯文本或选择器结果。

## 安装依赖

```bash
pip install "scrapling[all]"
scrapling install
pip install httpx
```

## 用法

### 1) 直接抓取纯文本

```bash
python scripts/scrape_web.py --url "https://example.com"
```

### 2) 使用 CSS 选择器

```bash
python scripts/scrape_web.py --url "https://example.com" --selector "title::text"
```

### 3) 保存到文件

```bash
python scripts/scrape_web.py --url "https://example.com" --out "output.txt"
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.