From ffa745fbc705ec29e150546ec0f39ddaeefb417f Mon Sep 17 00:00:00 2001 From: yusyus Date: Thu, 22 Jan 2026 22:59:51 +0300 Subject: [PATCH] fix: Add CSS selectors to test config in BULLETPROOF_QUICKSTART.md The test config was missing CSS selectors, causing the scraper to fail with "No content" errors on Tailwind CSS documentation. Changes: - Added selectors section with proper CSS selectors for Tailwind docs - Added Windows PowerShell alternative since cat/EOF doesn't work there - Includes main_content, title, and code_blocks selectors This fixes the "No content" error reported in issue #261. Co-Authored-By: Claude Sonnet 4.5 --- BULLETPROOF_QUICKSTART.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/BULLETPROOF_QUICKSTART.md b/BULLETPROOF_QUICKSTART.md index c791be7..070f033 100644 --- a/BULLETPROOF_QUICKSTART.md +++ b/BULLETPROOF_QUICKSTART.md @@ -278,6 +278,11 @@ cat > configs/test.json << 'EOF' "name": "test-skill", "description": "Test skill creation", "base_url": "https://tailwindcss.com/docs/installation", + "selectors": { + "main_content": "#content-wrapper", + "title": "h1, h2, h3", + "code_blocks": "pre code" + }, "max_pages": 5, "rate_limit": 0.5 } @@ -287,6 +292,29 @@ EOF skill-seekers scrape --config configs/test.json ``` +**Note for Windows users:** The `cat > file << 'EOF'` syntax doesn't work in PowerShell. Instead, create the file manually: + +```powershell +# In PowerShell, create configs/test.json with this content: +@" +{ + "name": "test-skill", + "description": "Test skill creation", + "base_url": "https://tailwindcss.com/docs/installation", + "selectors": { + "main_content": "#content-wrapper", + "title": "h1, h2, h3", + "code_blocks": "pre code" + }, + "max_pages": 5, + "rate_limit": 0.5 +} +"@ | Out-File -FilePath configs/test.json -Encoding utf8 + +# Then run the scraper +skill-seekers scrape --config configs/test.json +``` + **What happens:** 1. Scrapes 5 pages from Tailwind CSS docs 2. Creates `output/test-skill/` directory