web-search-scraper-api-skill
できること
リンクを渡すと、そのウェブページをきれいなMarkdownテキストに変換します。記事やページの内容を読んだり、保存したり、再利用したりしたい人向けです。
使う場面
- ✓記事のリンクから全文を取得したいとき。
- ✓ウェブページをメモや文書用にMarkdownへ変換したいとき。
- ✓ブログ記事の本文だけを、メニューや広告なしで取得したいとき。
スキルのリンク
https://github.com/browser-act/skills/blob/main/solutions/search-research/web-search-scraper-api-skill/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“この記事の全文をMarkdownで取得してください。https://example.com/blog/post-title”
毎週5つの新しいスキル。1分で読めます。
仕組み
スキルは、ページのリンクをBrowserActのテンプレートに送ります。テンプレートがページを読み込み、余分なレイアウトを取り除いて、本文をMarkdown形式で返します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)を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
- No hallucinations, ensuring stable and precise data extraction: Pre-set workflows avoid AI generative hallucinations.
- No human-machine verification issues: No need to deal with reCAPTCHA or other verification challenges.
- No IP access restrictions or geofencing: No need to handle regional IP limitations.
- More agile execution speed: Compared to purely AI-driven browser automation solutions, task execution is faster.
- 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:
- target_url
- Type:
string - Description: The website URL to extract content from. Supports any HTTP/HTTPS URL.
- Example:
https://www.browseract.com
- Type:
🚀 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:
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 withError:or the returned result is empty), the Agent should automatically try to re-execute the script once.
- If the output contains
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
- Article Extraction: Scrape the main content of a news article link into markdown.
- Blog Post Parsing: Download the readable text from a target blog post URL.
- Webpage to Markdown: Convert any given website URL into clean markdown format.
- Documentation Scraping: Fetch the contents of a tutorial or documentation page for offline reading.
- Content Monitoring: Automatically extract the text from a specific webpage for updates.
- Data Processing: Parse the HTML of an arbitrary HTTP/HTTPS URL to structure its content.
よくある質問
スキルに何を渡せばよいですか?
読みたいウェブページのリンクを渡します。
確認画面のあるサイトでも動作しますか?
スキルは、reCAPTCHAなどの確認を避けると説明しており、保護されたページの多くを読めます。
鍵は必要ですか?
はい。BROWSERACT_API_KEY設定にBrowserActのAPIキーが必要です。
詳細
作者による元の説明
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
人気
- GitHubのスター
- 6.3k
- ランキング
- #14300
- ライセンス
- MIT
- 更新日
- 2026/8/24
コメント
- …
このリポジトリの他のスキル
browser-act-skill-forge
6.3k一度サイトを調べて、スクリプト付きの再利用できるスキルを保存するのを支援します。そのサイトからのデータ取得が次回から速くなります。
browser-act
6.3kブラウザー自動化ツールで、ページを開いて内容を読んだり、フォーム入力、スクリーンショット、ログイン状態の維持を行えるよう支援します。
1688-product-detail
6.3k1688.comの卸売ページから、価格帯、バリエーション、販売者の評価、属性などの商品詳細を取得するのを支援します。
airbnb-listing-detail
6.3kAirbnbの掲載IDから、写真、設備、評価、宿泊ルールなど、公開されている詳細情報を取得するのを支援します。
似ているスキル
tavily
394kTavilyでウェブを検索し、特定のWebページから本文を取り出すようエージェントを支援します。深さ、ドメイン、日付のオプションも使えます。
blogwatcher
394kブログやRSS・Atomフィードを追跡し、新しい記事を確認して、読んだ記事に印を付けるようエージェントを支援します。
data-scraper-agent
280kエージェントが公開されているさまざまな情報源からデータを自動で収集できるよう支援します。スケジュール実行、情報の補強、結果の保存が可能です。オンラインデータの監視や追跡に役立ちます。