تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

smart-web-scraper

بواسطة mariusfit

Web & Frontend Development
911التنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Extract structured data from any web page.

الوصف

ما الذي تفعله هذه المهارة

Extracts structured data from web pages using CSS selectors or automatic detection of tables and lists. Outputs results as JSON, CSV, text, or Markdown. Supports multi-page crawling with pagination following.

Auto-installs its own dependencies via uv, so there is no manual setup before scraping a page.

متى تستخدمها

  • Pulling product names and prices from an e-commerce listing
  • Extracting all external links from a documentation site
  • Scraping a pricing table into a spreadsheet-ready CSV
  • Collecting article headlines across multiple paginated pages
  • Grabbing contact details from a directory page

مثال على سير العمل

الإدخال

User asks: extract all products from https://shop.example.com as JSON

الوكيل
  1. 1

    Run the extract command with the shop URL and a CSS selector targeting product elements

  2. 2

    Specify JSON output format with the -f json flag

  3. 3

    Save the output to a local file using -o products.json

  4. 4

    Review the resulting JSON array for product text and tag data

الإخراج

A products.json file containing a JSON array with each product's text, tag, and class attributes

التثبيت

clawhub install mariusfit/smart-web-scraper

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط