web-scraping

Extract main text from URLs using cascading scraping strategies with anti-bot bypass.

Updated Mar 16, 2026
One-click install
npx skills add https://github.com/Zhushuaijiang/auto-company-win --skill web-scraping-zhushuaijiang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: web-scraping
Source: https://github.com/Zhushuaijiang/auto-company-win/tree/main/.agents/skills/web-scraping
Command: npx skills add https://github.com/Zhushuaijiang/auto-company-win --skill web-scraping-zhushuaijiang

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Web scraping with anti-bot bypass, content extraction, undocumented APIs and poison pill detection. Use when extracting content from websites, handling paywalls, implementing scraping cascades or processing social media.

Core Features & Use Cases

  • Robust multi-method scraping: requests-based, headless browser (Playwright) with stealth, and Trafilatura for fast text extraction.
  • Anti-bot and paywall handling: cascade strategies with fallback between lightweight and JS-rendered pages.
  • Social media data access: patterns for YouTube, Instagram, TikTok via yt-dlp and related tooling; poison-pill detection to identify blocked pages.
  • Use Case: collect article summaries from news sites, social posts, and product listings while respecting robots.txt and rate limits.

Quick Start

Provide a target URL to fetch content using the cascade scraper and extract main text with the fastest available method.

Frequently Asked Questions about web-scraping

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract main textual content from dynamic pages with anti-bot protection?

To extract content from dynamic pages with anti-bot protection, this tool applies a multi-method cascade strategy. It orchestrates Trafilatura, Requests, and Playwright with stealth to bypass anti-bot mechanisms and successfully extract main textual content.

What is the best way to scrape social media posts from YouTube, Instagram, and TikTok?

Scraping social media posts from YouTube, Instagram, and TikTok is handled via specific patterns and yt-dlp related tooling. The process includes poison-pill detection to identify blocked pages and ensure robust data collection across social platforms.

Can I use Playwright with stealth to bypass paywalls and anti-bot blocks on websites?

Yes, you can use Playwright with stealth to bypass paywalls and anti-bot blocks on websites. The scraper implements cascade strategies with fallbacks between lightweight requests and JS-rendered pages to effectively handle paywall detection.

How does a multi-method scraping cascade work for fast text extraction?

A multi-method scraping cascade works by attempting fast text extraction using Trafilatura and lightweight requests first. If these lightweight methods fail on dynamic pages, it automatically falls back to a headless browser using Playwright with stealth.

What should I do when web scraping not working due to poison pills or blocked pages?

When web scraping is not working due to poison pills or blocked pages, the tool features built-in poison-pill detection to identify these blocks. It then applies fallback strategies across its scraping cascade to ensure robust data collection.

Do I need to respect robots.txt and rate limits when collecting article summaries and product listings?

Yes, you need to respect robots.txt and rate limits when collecting article summaries and product listings. The scraper is designed to extract content from news sites, social posts, and product listings while maintaining these ethical scraping boundaries.