Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

zoomin-scraper-recklessop

bởi recklessop

Web & Frontend Development
476Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Scrape documentation content from Zoomin Software portals using Playwright browser automation to handle dynamic.

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

User asks: 'Scrape these 40 Zoomin documentation URLs and save the content to a local folder'

AGENT
  1. 1

    Creates a text file with one target URL per line

  2. 2

    Runs run_scraper.sh with the URL file path, output directory, and virtual environment path

  3. 3

    Playwright launches headless Chromium and navigates to each URL in sequence

  4. 4

    Waits for the article element with id 'zDocsContent' to finish loading

  5. 5

    Saves the extracted text to individual files in the output directory

ĐẦU RA

Plain text files in the output directory, each containing the rendered documentation body from one URL

Yêu cầu

  • Playwright Python package (pip install playwright)
  • Chromium browser binaries (playwright install chromium)

Cài đặt

clawhub install recklessop/zoomin-scraper-recklessop

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết