[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7C4N7V4TFSVSE12TAG3REGA":3,"skill-same:01M7C4N7V4TFSVSE12TAG3REGA":59},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":13,"repositoryHtmlUrl":30,"repositoryHomepageUrl":30,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M7C4N7V4TFSVSE12TAG3REGA","web-scraper",null,"Crawl and extract structured data from websites. Uses a tiered approach -- Zo built-ins for simple fetches, BeautifulSoup for custom parsing, Crawl4AI for deep crawls and LLM-powered extraction. Use when you need to scrape a website, extract structured data, or crawl multiple pages.","SillyHippy\u002Fzo-skills","SillyHippy","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F159052837?v=4","01M7C43A8PDYMCDPTNFYF2RSC1","01M7C43A9CBS76QPH4PPTKXX54",0,"MIT","https:\u002F\u002Fgithub.com\u002FSillyHippy\u002Fzo-skills\u002Fblob\u002Fmain\u002Fskills\u002Fweb-scraper\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: web-scraper\ndescription: Crawl and extract structured data from websites. Uses a tiered approach -- Zo built-ins for simple fetches, BeautifulSoup for custom parsing, Crawl4AI for deep crawls and LLM-powered extraction. Use when you need to scrape a website, extract structured data, or crawl multiple pages.\ncompatibility: Created for Zo Computer\nmetadata:\n  author: skeletorjs\n  category: Community\n---\n\n## CLI\n\n```bash\npython3 \u002Fhome\u002Fworkspace\u002FSkills\u002Fweb-scraper\u002Fscripts\u002Fscraper.py \u003Ccommand> [options]\n```\n\n| Command | Description |\n|---------|-------------|\n| `scrape \u003Curl>` | Fetch page content as markdown |\n| `scrape \u003Curl> --css \u003Cselector>` | Extract elements matching a CSS selector |\n| `scrape \u003Curl> --schema \u003Cjson-file>` | Extract structured data using a JSON CSS schema |\n| `scrape \u003Curl> --llm-extract \"\u003Cinstruction>\"` | Use LLM to extract structured data (Crawl4AI) |\n| `crawl \u003Curl> --depth N --max-pages N` | Deep crawl following links (BFS) |\n| `batch \u003Cfile> [--css \u003Cselector>]` | Scrape multiple URLs from a file (one per line) |\n\n## Options\n\n| Flag | Description |\n|------|-------------|\n| `--output \u003Cfile>` | Save output to file instead of stdout |\n| `--format json\\|md\\|text` | Output format (default: md for scrape, json for extract) |\n| `--js` | Force JavaScript rendering via Playwright |\n| `--wait \u003Cseconds>` | Wait after page load before extracting |\n| `--timeout \u003Cseconds>` | Request timeout (default: 30) |\n\n## Tiered Approach\n\nThe scraper automatically picks the lightest tool that can do the job:\n\n1. **Simple fetch** (`scrape \u003Curl>`) -- Uses httpx + BeautifulSoup. Fast, no browser overhead.\n2. **CSS extraction** (`--css` or `--schema`) -- BeautifulSoup with selectors. Still fast.\n3. **JS rendering** (`--js` flag, or auto-fallback) -- Playwright via Crawl4AI. For SPAs and dynamic content.\n4. **Deep crawl** (`crawl` command) -- Crawl4AI with BFS link following.\n5. **LLM extraction** (`--llm-extract`) -- Crawl4AI with LLM strategy. Most expensive, most flexible.\n\n## Schema Format (for --schema)\n\nJSON file with CSS extraction schema:\n\n```json\n{\n  \"name\": \"Products\",\n  \"baseSelector\": \"div.product\",\n  \"fields\": [\n    {\"name\": \"title\", \"selector\": \"h2\", \"type\": \"text\"},\n    {\"name\": \"price\", \"selector\": \".price\", \"type\": \"text\"},\n    {\"name\": \"url\", \"selector\": \"a\", \"type\": \"attribute\", \"attribute\": \"href\"}\n  ]\n}\n```\n\nField types: `text`, `attribute`, `html`, `exists`\n\n## Examples\n\n```bash\n# Simple page content\npython3 scripts\u002Fscraper.py scrape https:\u002F\u002Fexample.com\n\n# Extract all h2 headings\npython3 scripts\u002Fscraper.py scrape https:\u002F\u002Fexample.com --css \"h2\"\n\n# Structured extraction with schema\npython3 scripts\u002Fscraper.py scrape https:\u002F\u002Fexample.com\u002Fproducts --schema schema.json\n\n# LLM-powered extraction\npython3 scripts\u002Fscraper.py scrape https:\u002F\u002Fexample.com --llm-extract \"Extract all company names and their descriptions\"\n\n# Deep crawl a site\npython3 scripts\u002Fscraper.py crawl https:\u002F\u002Fdocs.example.com --depth 2 --max-pages 50\n\n# Batch scrape URLs from file\npython3 scripts\u002Fscraper.py batch urls.txt --css \"article\" --output results.json\n```\n\n## Notes\n\n- Zo's `read_webpage` and `agent-browser` are still better for quick one-off page reads in conversation. Use this skill when you need structured extraction, deep crawls, or batch operations.\n- LLM extraction uses whatever model is configured in Crawl4AI (defaults to environment). Costs API tokens.\n- Deep crawls respect robots.txt by default. Use responsibly.\n","## CLI\n\n```bash\npython3 \u002Fhome\u002Fworkspace\u002FSkills\u002Fweb-scraper\u002Fscripts\u002Fscraper.py \u003Ccommand> [options]\n```\n\n| Command | Description |\n|---------|-------------|\n| `scrape \u003Curl>` | Fetch page content as markdown |\n| `scrape \u003Curl> --css \u003Cselector>` | Extract elements matching a CSS selector |\n| `scrape \u003Curl> --schema \u003Cjson-file>` | Extract structured data using a JSON CSS schema |\n| `scrape \u003Curl> --llm-extract \"\u003Cinstruction>\"` | Use LLM to extract structured data (Crawl4AI) |\n| `crawl \u003Curl> --depth N --max-pages N` | Deep crawl following links (BFS) |\n| `batch \u003Cfile> [--css \u003Cselector>]` | Scrape multiple URLs from a file (one per line) |\n\n## Options\n\n| Flag | Description |\n|------|-------------|\n| `--output \u003Cfile>` | Save output to file instead of stdout |\n| `--format json\\|md\\|text` | Output format (default: md for scrape, json for extract) |\n| `--js` | Force JavaScript rendering via Playwright |\n| `--wait \u003Cseconds>` | Wait after page load before extracting |\n| `--timeout \u003Cseconds>` | Request timeout (default: 30) |\n\n## Tiered Approach\n\nThe scraper automatically picks the lightest tool that can do the job:\n\n1. **Simple fetch** (`scrape \u003Curl>`) -- Uses httpx + BeautifulSoup. Fast, no browser overhead.\n2. **CSS extraction** (`--css` or `--schema`) -- BeautifulSoup with selectors. Still fast.\n3. **JS rendering** (`--js` flag, or auto-fallback) -- Playwright via Crawl4AI. For SPAs and dynamic content.\n4. **Deep crawl** (`crawl` command) -- Crawl4AI with BFS link following.\n5. **LLM extraction** (`--llm-extract`) -- Crawl4AI with LLM strategy. Most expensive, most flexible.\n\n## Schema Format (for --schema)\n\nJSON file with CSS extraction schema:\n\n```json\n{\n  \"name\": \"Products\",\n  \"baseSelector\": \"div.product\",\n  \"fields\": [\n    {\"name\": \"title\", \"selector\": \"h2\", \"type\": \"text\"},\n    {\"name\": \"price\", \"selector\": \".price\", \"type\": \"text\"},\n    {\"name\": \"url\", \"selector\": \"a\", \"type\": \"attribute\", \"attribute\": \"href\"}\n  ]\n}\n```\n\nField types: `text`, `attribute`, `html`, `exists`\n\n## Examples\n\n```bash\n# Simple page content\npython3 scripts\u002Fscraper.py scrape https:\u002F\u002Fexample.com\n\n# Extract all h2 headings\npython3 scripts\u002Fscraper.py scrape https:\u002F\u002Fexample.com --css \"h2\"\n\n# Structured extraction with schema\npython3 scripts\u002Fscraper.py scrape https:\u002F\u002Fexample.com\u002Fproducts --schema schema.json\n\n# LLM-powered extraction\npython3 scripts\u002Fscraper.py scrape https:\u002F\u002Fexample.com --llm-extract \"Extract all company names and their descriptions\"\n\n# Deep crawl a site\npython3 scripts\u002Fscraper.py crawl https:\u002F\u002Fdocs.example.com --depth 2 --max-pages 50\n\n# Batch scrape URLs from file\npython3 scripts\u002Fscraper.py batch urls.txt --css \"article\" --output results.json\n```\n\n## Notes\n\n- Zo's `read_webpage` and `agent-browser` are still better for quick one-off page reads in conversation. Use this skill when you need structured extraction, deep crawls, or batch operations.\n- LLM extraction uses whatever model is configured in Crawl4AI (defaults to environment). Costs API tokens.\n- Deep crawls respect robots.txt by default. Use responsibly.\n",{"name":5,"metadata":23,"description":7,"compatibility":26},{"author":24,"category":25},"skeletorjs","Community","Created for Zo Computer","main","3641543f81ae80504027d6b012e0dadce4e2de40","skills\u002Fweb-scraper","https:\u002F\u002Fgithub.com\u002FSillyHippy\u002Fzo-skills","https:\u002F\u002Fgithub.com\u002FSillyHippy","2026-09-18 11:42:22",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add SillyHippy\u002Fzo-skills --skill web-scraper",{"tool":39,"command":40},"bunx","bunx skills add SillyHippy\u002Fzo-skills --skill web-scraper",{"tool":42,"command":43},"pnpm","pnpm dlx skills add SillyHippy\u002Fzo-skills --skill web-scraper","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSillyHippy\u002Fzo-skills\u002Fblob\u002Fmain\u002Fskills\u002Fweb-scraper\u002FSKILL.md",true,[47,53],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"DISPLAY.json","REFERENCE","参考文档",79,"https:\u002F\u002Fgithub.com\u002FSillyHippy\u002Fzo-skills\u002Fblob\u002Fmain\u002Fskills\u002Fweb-scraper\u002FDISPLAY.json",{"path":54,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":57,"sourceHtmlUrl":58},"scripts\u002Fscraper.py","SCRIPT","脚本",12428,"https:\u002F\u002Fgithub.com\u002FSillyHippy\u002Fzo-skills\u002Fblob\u002Fmain\u002Fskills\u002Fweb-scraper\u002Fscripts\u002Fscraper.py",[60,67,74,81,88,95],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":18},"01M7C4RK2ZCHPKQT393RVSC6ER","zopack","Export and import zo.space route setups as shareable .zopack.md files. Use when the user wants to package their zo.space routes for sharing, or when they receive a .zopack.md file to deploy. Triggers on \"export my zo.space\", \"create a zopack\", \"import this zopack\", or any mention of .zopack.md files.","https:\u002F\u002Fgithub.com\u002FSillyHippy\u002Fzo-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzopack\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M7C4REH5EJ22X3C1SF88X6KQ","zoho-mail-inbox","Full inbox management for Zoho Mail (info@justlegalsolutions.org) — list unread, mark all as read, delete by sender\u002Fkeyword, search, send from aliases, list folders. Fully self-contained — zero setup needed.","https:\u002F\u002Fgithub.com\u002FSillyHippy\u002Fzo-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzoho-mail-inbox\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":18},"01M7C4RAJF1N9R8ZRT25GMHFBF","weekly-meeting-reminder","Get an email every Sunday evening listing your meetings for the coming week.","https:\u002F\u002Fgithub.com\u002FSillyHippy\u002Fzo-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzo-weekly-meeting-reminder\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":18},"01M7C4R65Q9T6TPBRFQPWJSW4Z","twitter","Let Zo use your X (Twitter) account","https:\u002F\u002Fgithub.com\u002FSillyHippy\u002Fzo-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzo-twitter\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":18},"01M7C4R358YM59EZRM3SW763VK","zo-tools","Internal process tools for Zo and Hermes — local search, document processing, OCR, and embeddings. All services run on localhost, zero HTTP slots consumed.","https:\u002F\u002Fgithub.com\u002FSillyHippy\u002Fzo-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzo-tools\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":18},"01M7C4R0J4C3RQWKZ5W5W3CZ3X","ssh-setup","Sets up secure remote access to your Zo Computer so you can connect from anywhere","https:\u002F\u002Fgithub.com\u002FSillyHippy\u002Fzo-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzo-ssh-setup\u002FSKILL.md",[],[]]