Langsung ke konten
Skillpedia
Web scraping6.3k ยท #14300

web-search-scraper-api-skill

Fungsinya

Skill ini mengubah halaman web menjadi teks Markdown yang bersih saat Anda memberikan tautannya. Skill ini ditujukan untuk orang yang ingin membaca, menyimpan, atau memakai ulang konten sebuah artikel atau halaman.

Kapan dipakai

  • โœ“Saat Anda ingin seluruh teks sebuah artikel dari sebuah tautan.
  • โœ“Ketika Anda membutuhkan halaman web yang diubah menjadi Markdown untuk catatan atau dokumen.
  • โœ“Saat Anda ingin konten utama sebuah tulisan blog tanpa menu dan iklan.

Link skill

https://github.com/browser-act/skills/blob/main/solutions/search-research/web-search-scraper-api-skill/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/browser-act/skills/blob/main/solutions/search-research/web-search-scraper-api-skill/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit โ†’

Contoh permintaan ke AI

โ€œAmbil seluruh teks artikel ini sebagai Markdown: https://example.com/blog/post-titleโ€

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Skill ini mengirim tautan halaman ke templat BrowserAct. Templat memuat halaman, menghapus tata letak tambahan, dan mengembalikan konten utama dalam format Markdown.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

Web Search Scraper API Skill

๐Ÿ“– Introduction

This skill provides users with a one-stop web page extraction service through the BrowserAct Web Search Scraper API template. It can directly extract structured markdown content from any given URL. By simply inputting the target URL, you can get clean and usable markdown data.

โœจ Features

  1. No hallucinations, ensuring stable and precise data extraction: Pre-set workflows avoid AI generative hallucinations.
  2. No human-machine verification issues: No need to deal with reCAPTCHA or other verification challenges.
  3. No IP access restrictions or geofencing: No need to handle regional IP limitations.
  4. More agile execution speed: Compared to purely AI-driven browser automation solutions, task execution is faster.
  5. Extremely high cost-effectiveness: Compared to AI solutions that consume a lot of Tokens, it can significantly reduce the cost of data acquisition.

๐Ÿ”‘ API Key Guidance Process

Before running, you must check the BROWSERACT_API_KEY environment variable. If it is not set, do not take other actions first; you should ask and wait for the user to provide it cooperatively. The Agent must inform the user at this time:

"Since you have not configured the BrowserAct API Key, please go to the BrowserAct Console first to get your Key."

๐Ÿ› ๏ธ Input Parameters Details

Agent should flexibly configure the following parameters based on user needs when calling the script:

  1. target_url
    • Type: string
    • Description: The website URL to extract content from. Supports any HTTP/HTTPS URL.
    • Example: https://www.browseract.com

๐Ÿš€ Invocation Method (Recommended)

Agent should execute the following independent script to achieve "one command gets the result":

# Example invocation
python -u ./scripts/web_search_scraper_api.py "target_url"

โณ Execution Status Monitoring

Since the task involves automated browser operations, it may take a long time (several minutes). The script will continuously output status logs with timestamps (e.g., [14:30:05] Task Status: running) while running. Notice for Agent:

  • While waiting for the script to return results, please keep paying attention to the terminal output.
  • As long as the terminal is still outputting new status logs, it means the task is running normally. Do not misjudge it as a deadlock or unresponsiveness.
  • If the status remains unchanged for a long time or the script stops outputting and no result is returned, the retry mechanism can be triggered.

๐Ÿ“Š Data Output Description

Upon successful execution, the script will directly parse and print the result from the API response. The result contains:

  • content: The complete markdown content of the webpage.

โš ๏ธ Error Handling & Retry Mechanism

During the execution of the script, if an error occurs (such as network fluctuation or task failure), the Agent should follow this logic:

  1. Check the output content:

    • If the output contains "Invalid authorization", it means the API Key is invalid or expired. At this time, do not retry, and you should guide the user to recheck and provide the correct API Key.
    • If the output does not contain "Invalid authorization" but the task execution fails (for example, the output starts with Error: or the returned result is empty), the Agent should automatically try to re-execute the script once.
  2. Retry limit:

    • Automatic retry is limited to once. If the second attempt still fails, stop retrying and report the specific error message to the user.

๐ŸŒŸ Typical Use Cases

  1. Article Extraction: Scrape the main content of a news article link into markdown.
  2. Blog Post Parsing: Download the readable text from a target blog post URL.
  3. Webpage to Markdown: Convert any given website URL into clean markdown format.
  4. Documentation Scraping: Fetch the contents of a tutorial or documentation page for offline reading.
  5. Content Monitoring: Automatically extract the text from a specific webpage for updates.
  6. Data Processing: Parse the HTML of an arbitrary HTTP/HTTPS URL to structure its content.
Pertanyaan umum

Apa yang harus saya berikan kepada skill ini?

Anda memberikan tautan halaman web yang ingin dibaca.

Apakah ini bekerja di situs yang memiliki pemeriksaan verifikasi?

Deskripsinya menyebutkan bahwa skill ini menghindari tantangan verifikasi seperti reCAPTCHA, sehingga dapat membaca banyak halaman yang dilindungi.

Apakah saya memerlukan kunci?

Ya, skill ini memerlukan kunci API BrowserAct dalam pengaturan BROWSERACT_API_KEY.

Detail

Deskripsi asli dari pembuat

This skill helps users automatically extract complete Markdown content from any website via the BrowserAct Web Search Scraper API. The Agent should proactively apply this skill when users express needs like extract complete markdown from a specific website, scrape the content of an article link, get the text from a target url, convert a webpage to markdown format, fetch the main content of a blog post, extract data from a given web page, parse the html of a website into markdown, download the readable text from a news article, obtain the content of a tutorial page, extract all the markdown tex

repo: browser-act/skills

Popularitas

Bintang GitHub
6.3k
Peringkat
#14300
Lisensi
MIT
Diperbarui
24/8/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • โ€ฆ

Skill lain dari repositori ini

Skill serupa