web-search-scraper-api-skill
Skill này làm gì
Skill biến một trang web thành văn bản Markdown sạch khi bạn đưa liên kết. Skill dành cho người muốn đọc, lưu hoặc tái sử dụng nội dung của một bài viết hay trang web.
Khi nào nên dùng
- ✓Khi bạn muốn đọc toàn bộ nội dung của một bài viết từ một liên kết.
- ✓Khi bạn cần chuyển một trang web sang Markdown để làm ghi chú hoặc tài liệu.
- ✓Khi bạn muốn lấy nội dung chính của một bài blog mà không có menu và quảng cáo.
Liên kết skill
https://github.com/browser-act/skills/blob/main/solutions/search-research/web-search-scraper-api-skill/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Hãy lấy toàn bộ nội dung bài viết này dưới dạng Markdown: https://example.com/blog/post-title”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill gửi liên kết trang đến một mẫu của BrowserAct. Mẫu tải trang, bỏ phần bố cục thừa và trả về nội dung chính ở định dạng Markdown.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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.
Câu hỏi thường gặp
Bạn cần đưa gì cho skill?
Bạn đưa liên kết trang web muốn đọc.
Skill có hoạt động trên trang có bước xác minh không?
Mô tả cho biết skill tránh được các thử thách xác minh như reCAPTCHA, nên có thể đọc nhiều trang được bảo vệ.
Bạn có cần khóa không?
Có, cần khóa API của BrowserAct trong thiết lập BROWSERACT_API_KEY.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 6.3k
- Vị trí xếp hạng
- #14300
- Giấy phép
- MIT
- Cập nhật
- 24/8/2026
Bình luận
- …
Thêm skill từ kho mã này
browser-act-skill-forge
6.3kGiúp agent của bạn khám phá một website một lần rồi lưu thành một skill tái sử dụng với các script, để lấy dữ liệu từ site đó sau này nhanh hơn.
browser-act
6.3kGiúp agent của bạn chạy công cụ tự động hóa trình duyệt để mở trang, đọc nội dung đã render, điền biểu mẫu, chụp ảnh màn hình và quản lý phiên đã đăng nhập.
1688-product-detail
6.3kGiúp agent của bạn lấy chi tiết sản phẩm từ một trang bán buôn 1688.com, như bậc giá, biến thể, thống kê người bán và thuộc tính.
airbnb-listing-detail
6.3kGiúp agent của bạn lấy chi tiết công khai của một tin đăng Airbnb theo ID, như ảnh, tiện nghi, đánh giá và nội quy nhà.
Skill tương tự
tavily
394kGiúp agent của bạn tìm kiếm web bằng Tavily và lấy văn bản từ các trang cụ thể, với tùy chọn về độ sâu, tên miền và ngày tháng.
blogwatcher
394kCho phép agent của bạn theo dõi blog và nguồn cấp RSS hoặc Atom, kiểm tra bài viết mới và đánh dấu những bài bạn đã đọc.
data-scraper-agent
280kGiúp agent tự động thu thập dữ liệu từ mọi nguồn công khai. Có thể lên lịch, bổ sung thông tin và lưu kết quả. Hữu ích để theo dõi dữ liệu trực tuyến.