浏览器

Web Scraper Summarizer

试用

Fetch web pages and generate AI-powered summaries using Ollama LLM. Use when you need to (1) scrape and summarize web articles, (2) extract key points from w...

它能做什么

Fetch web pages and generate AI-powered summaries using Ollama LLM. Use when you need to (1) scrape and summarize web articles, (2) extract key points from web pages, (3) analyze web content for specific topics, or (4) quickly understand what a web page is about without reading it fully. Triggers include: summarize this article, scrape this URL, what is on this page, analyze this web content, extract key points from.

技能文档

Web Scraper & Summarizer

Scrape web pages and generate structured summaries using Ollama LLM.

Usage

Basic Summary

python scripts/scrape_and_summarize.py 

Outputs a 2-3 sentence brief summary.

Custom Styles

python scripts/scrape_and_summarize.py  detailed
python scripts/scrape_and_summarize.py  bullet

Styles:

  • brief (default) - 2-3 sentence overview
  • detailed - Comprehensive with bullet points
  • bullet - Key points as bullet list

Workflow

  1. Detect URL - User provides a URL to analyze
  2. Fetch - Script uses curl to retrieve page content (30s timeout)
  3. Clean - HTML stripped, content extracted and cleaned
  4. Truncate - Content limited to ~16k tokens to fit context
  5. Summarize - Ollama generates summary based on requested style

Requirements

  • curl available on PATH
  • Ollama installed with llama3.2 model pulled
  • Python 3.8+

Error Handling

  • Fetch fails: Shows error, exits with code 1
  • Content too short: Detects and reports empty pages
  • Ollama unavailable: Falls back to raw content display (truncated)

Output Format

Summary is printed to stdout. Progress/debug info goes to stderr.

=== SUMMARY ===
[AI-generated summary here]

On Ollama failure, raw content is shown instead:

=== PAGE CONTENT (raw) ===
[truncated page text]

Performance Notes

  • Fast pages: ~5-10 seconds total
  • Large pages: Content truncation happens at ~16k tokens
  • Ollama latency: Depends on model size and hardware (typically 10-30s for summary)

相关技能

Summarize any web page by URL or by pasting text. Returns a concise structured summary with key points, entities, and action items. Use when the user wants a quick digest of an article, documentation page, or any web content without reading the full source.

Search the web for a topic and produce a structured summary with key findings, sources, and actionable takeaways. Best for quick research briefs, competitive landscape scans, and topic overviews.

1 次安装

Quickly summarize any text, URL, or file content into a concise structured brief. Use when the user wants a TL;DR, executive summary, or needs to distill long content into key points without reading the full source.

Web extraction for LLMs and agents. Scrape, crawl, map, search, extract, summarize, diff, monitor, and research any URL into clean Markdown, text, or JSON, i...

3 次安装

Fetch a web page and produce a structured markdown digest: title, key points, entities, action items, and a one-paragraph TL;DR. Use when the user shares a URL and asks for a quick summary, briefing, or extraction of actionable information.

1 次安装

Empower your AI agent to read and summarize specific public web or social media links from TikTok, Instagram, X (Twitter), YouTube, Facebook, Reddit, LinkedIn, Threads, Pinterest, Bluesky, Twitch, Snapchat, Kick, Lemon8, Douyin, Xiaohongshu, Weibo, Bilibili, Kuaishou, Xigua, Zhihu, WeChat Official

1 次安装