← 返回 Skills 市场
scottzx

magnet-searcher

作者 scottzx · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
67
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install magnet-searcher
功能描述
Search for movies, TV shows, or other content and find magnet/torrent download links. Use this skill whenever the user asks for movie downloads, torrent link...
使用说明 (SKILL.md)

Magnet Searcher Skill

This skill enables searching for movies, TV shows, and other content, then finding and extracting magnet/torrent download links using the agent-browser tool.

Prerequisites

1. Install agent-browser

npm install -g agent-browser

2. Install Chromium

For Debian/Ubuntu:

apt-get install -y chromium

For other Linux distributions:

# Try the default install command
agent-browser install
# If that fails (no ARM64 build), use system package manager:
# Fedora: sudo dnf install chromium
# Then use: agent-browser --executable-path /usr/bin/chromium

3. Verify Chromium is accessible

which chromium  # Should return /usr/bin/chromium

Core Workflow

Step 1: Search on a Magnet Site

Open a magnet search site and search for the content:

# Option 1: BTSOW (often works well)
agent-browser open "https://btsow.pics"
agent-browser fill @e7 "movie name here"  # Fill search box
agent-browser press Enter

# Option 2: 360 search engine (good for Chinese content)
agent-browser open "https://www.so.com/s?q=电影名+磁力链"

# Option 3: Bing search
agent-browser open "https://cn.bing.com/search?q=电影名+磁力链"

Step 2: Navigate to Results

After search results appear:

# Wait for page to load
agent-browser wait 2000

# Get page snapshot to see results
agent-browser snapshot

Step 3: Click on a Result Page

Find a relevant result (often shows "磁力" or "magnet" in the snippet) and click it:

agent-browser click @e36  # Use the ref from snapshot
agent-browser wait 3000

Step 4: Extract the Magnet Link

On the detail page, use JavaScript evaluation to find magnet links:

# Find any magnet link on the page
agent-browser eval "document.querySelector('a[href*=magnet]')?.href"

# If that returns nothing, try these alternatives:
agent-browser eval "document.body.innerText"  # Get all text, then search manually

Common magnet link patterns:

  • magnet:?xt=urn:btih:...
  • Magnet links may be displayed as plain text links

Step 5: Close Browser When Done

agent-browser close

Common Issues & Solutions

Baidu requires CAPTCHA

If Baidu shows a security verification, switch to:

  • Bing (cn.bing.com)
  • 360 (so.com)
  • BTSOW (btsow.pics)

Page navigation times out

Some magnet sites are slow or block bots. Try:

  • Waiting longer with agent-browser wait 5000
  • Trying a different site

Element refs change after page load

Always get a fresh snapshot after waiting:

agent-browser wait 2000
agent-browser snapshot

Chromium not found

Use the executable-path flag:

agent-browser --executable-path /usr/bin/chromium open "https://example.com"

Workflow Summary

1. Install agent-browser + Chromium
2. Open magnet search site
3. Fill search box with content name
4. Wait for results
5. Click on relevant result
6. Use JS eval to extract magnet URL
7. Close browser

Example: Finding "巅峰猎杀" (Apex 2026) Magnet

# Install
npm install -g agent-browser
apt-get install -y chromium

# Search on 360
agent-browser --executable-path /usr/bin/chromium open "https://www.so.com/s?q=巅峰猎杀+磁力链"
agent-browser wait 2000
agent-browser snapshot

# Click on result containing "磁力"
# (Get the ref from snapshot output)
agent-browser click @e36
agent-browser wait 3000

# Extract magnet link
agent-browser eval "document.querySelector('a[href*=magnet]')?.href"

# Result: magnet:?xt=urn:btih:cdeba1f57fbe45bf4f72f8a27908c29857e30614

Important Notes

  1. Legal disclaimer: Only search for content you have rights to download
  2. 时效性: Magnet links may expire or become unavailable over time
  3. Multiple sources: If one site fails, try another
  4. Chinese sites: For Chinese movies/shows, use Chinese search terms and sites work better
安全使用建议
Before installing, confirm you trust the browser automation tooling and package sources, consider using an isolated browser/profile, do not provide credentials on magnet sites, and only search/download content you have rights to access.
功能分析
Type: OpenClaw Skill Name: magnet-searcher Version: 1.0.0 The skill facilitates searching for magnet links by instructing the agent to perform high-risk actions, including system-level package installation (apt-get install chromium), global NPM package installation, and the execution of arbitrary JavaScript within a browser context (agent-browser eval). While these capabilities are plausibly needed for the stated purpose of web scraping and automation, the requirement for root-level modifications and broad execution power without built-in sanitization or environment constraints warrants a suspicious classification under the provided criteria. No explicit evidence of data exfiltration or intentional malware was found in SKILL.md or the associated files.
能力评估
Purpose & Capability
The stated purpose and workflow align: it searches the web for magnet/torrent links and extracts magnet URLs. The included legal disclaimer is visible, though users should still ensure they have rights to the content.
Instruction Scope
The instructions are user-triggered and task-focused, but they include browser navigation, clicking search results, and JavaScript evaluation on external pages.
Install Mechanism
There is no install spec, but SKILL.md asks the user to install agent-browser globally and install Chromium through system/package-manager commands. This is disclosed but unpinned.
Credentials
No credentials, environment variables, or local file access are requested. The main exposure is network browsing to untrusted torrent/search sites, which is proportionate to the skill but worth isolating.
Persistence & Privilege
No background worker, memory, or autonomous persistence is described. The only persistence is the user-directed global/system installation of browser tooling.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install magnet-searcher
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /magnet-searcher 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of magnet-searcher skill. - Enables search for movies, TV shows, and other content to find magnet/torrent download links. - Uses agent-browser to automate searching on magnet link sites and extract working magnet URLs. - Provides detailed workflow instructions for setup, searching, extraction, and troubleshooting. - Includes tailored advice for Chinese and international content and multiple search engines. - Offers solutions for common issues like CAPTCHA challenges, slow navigation, and Chromium setup.
元数据
Slug magnet-searcher
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

magnet-searcher 是什么?

Search for movies, TV shows, or other content and find magnet/torrent download links. Use this skill whenever the user asks for movie downloads, torrent link... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 67 次。

如何安装 magnet-searcher?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install magnet-searcher」即可一键安装,无需额外配置。

magnet-searcher 是免费的吗?

是的,magnet-searcher 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

magnet-searcher 支持哪些平台?

magnet-searcher 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 magnet-searcher?

由 scottzx(@scottzx)开发并维护,当前版本 v1.0.0。

💬 留言讨论