zoomin-scraper-recklessop
بواسطة recklessop
Web & Frontend Developmentموجز
Scrape documentation content from Zoomin Software portals using Playwright browser automation to handle dynamic.
الوصف
ما الذي تفعله هذه المهارة
Scrapes documentation content from Zoomin Software portals using a headless Chromium browser. Standard HTTP fetching fails on these portals because content loads dynamically via JavaScript. The skill navigates to each URL, waits for the main article element to render, then extracts the text.
Executes JavaScript and waits for DOM rendering, capturing content that standard HTTP scrapers miss entirely on Zoomin portals.
متى تستخدمها
- Batch downloading Zoomin-hosted vendor documentation
- Archiving product docs before portal access expires
- Building a local knowledge base from dynamic documentation sites
- Extracting text from docs that return empty content via requests/BeautifulSoup
- Processing a list of documentation URLs into plain text files
مثال على سير العمل
User asks: 'Scrape these 40 Zoomin documentation URLs and save the content to a local folder'
- 1
Creates a text file with one target URL per line
- 2
Runs run_scraper.sh with the URL file path, output directory, and virtual environment path
- 3
Playwright launches headless Chromium and navigates to each URL in sequence
- 4
Waits for the article element with id 'zDocsContent' to finish loading
- 5
Saves the extracted text to individual files in the output directory
Plain text files in the output directory, each containing the rendered documentation body from one URL
المتطلبات
- Playwright Python package (pip install playwright)
- Chromium browser binaries (playwright install chromium)
التثبيت
clawhub install recklessop/zoomin-scraper-recklessopشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.