| name | web-scraper |
| description | Fetch any URL and extract clean readable content as text or markdown. Use this skill when the user asks to scrape a webpage, extract text from a URL, fetch website content, read an article from a link, or download webpage content. |
| tags | ["web","scraper","url","fetch","extract","article","html","utility"] |
| version | 0.1.0 |
Skill: web-scraper
When to Use
Use this skill when the user asks to:
- Scrape or fetch content from a URL
- Extract text from a webpage
- Read an article from a link
- Get the content of a website
- Download and convert a webpage to text/markdown
- Summarize a web page
Input Parameters
| Parameter | Required | Description | Example |
|---|
url | Yes | URL to scrape | https://example.com/article |
format | No | Output format: markdown (default), text, html | markdown |
output | No | Save output to file path | article.md |
Procedure
-
Get the URL from the user's request
-
Run the bundled script:
python3 skills/web-scraper/scripts/scrape.py "https://example.com/article"
python3 skills/web-scraper/scripts/scrape.py "https://example.com" --format text
python3 skills/web-scraper/scripts/scrape.py "https://example.com" --output article.md
-
The script auto-installs trafilatura and requests if needed
-
Present the extracted content to the user
Bundled Scripts
| Script | Type | Description |
|---|
scripts/scrape.py | Python | Fetch URL and extract clean content |
Script Usage
python3 scripts/scrape.py "https://example.com/blog-post"
python3 scripts/scrape.py "https://example.com" --format text
python3 scripts/scrape.py "https://example.com" --format html
python3 scripts/scrape.py "https://example.com" --output page.md
python3 scripts/scrape.py "https://example.com/article" --metadata
Example
scrape this URL: https://example.com/article
extract the text from this webpage
fetch the content of this link and save it
read this article: https://blog.example.com/post-1
get the content from this website