本文へスキップ
Skillpedia
一般的なプログラミング48k · #4762

go-rod-master

できること

このエージェントは、Go言語を使ってWebブラウザ上の作業を自動化するのに役立ちます。Webサイトから情報を取り出したり、ユーザーの操作をまねたりでき、さらにボットとして検出されないようにすることも試みます。

使う場面

  • ✓Webサイトからデータを自動で収集する必要があるとき。
  • ✓Webサイトがどのように動くかをテストしたいとき。
  • ✓人がWebサイトを操作するように、プログラムにWebサイトとやり取りさせたいとき。

スキルのリンク

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/go-rod-master/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/go-rod-master/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“「example.com」のトップページからタイトルとすべてのリンクを取得してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

「go-rod」というツールを使っており、その裏側でChromeなどのブラウザを操作します。これにより、ページの移動、クリック、ウェブページの内容の読み取りができるようになります。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Go-Rod Browser Automation Master

Detailed Guide

Read the detailed guide before executing this skill. It retains the complete procedure and reference material. Treat its safety, prerequisites, and validation requirements as mandatory. For focused work, load the relevant sections; for end-to-end work, read the guide completely.

When to Use This Skill

  • Use when the user asks to scrape, automate, or test a website using Go.
  • Use when the user needs a headless browser for dynamic/SPA content (React, Vue, Angular).
  • Use when the user mentions stealth, anti-bot, avoiding detection, Cloudflare, or bot detection bypass.
  • Use when the user wants to work with the Chrome DevTools Protocol (CDP) directly from Go.
  • Use when the user needs to intercept or hijack network requests in a browser context.
  • Use when the user asks about concurrent browser scraping or page pooling in Go.
  • Use when the user is migrating from chromedp or Playwright Go and wants a simpler API.

Safety & Risk

Risk Level: 🔵 Safe

  • Read-Only by Default: Default behavior is navigating and reading page content (scraping/testing).
  • Isolated Contexts: Browser contexts are sandboxed; cookies and storage do not persist unless explicitly saved.
  • Resource Cleanup: Designed around Go's defer pattern — browsers and pages close automatically.
  • No External Mutations: Does not modify external state unless the script explicitly submits forms or POSTs data.

Examples

See the examples/ directory for complete, runnable Go files:

  • examples/basic_scrape.go — Minimal scraping example
  • examples/stealth_page.go — Anti-detection with go-rod/stealth
  • examples/request_hijacking.go — Intercepting and modifying network requests
  • examples/concurrent_pages.go — Page pool for concurrent scraping

Limitations

  • CAPTCHAs: Rod does not include CAPTCHA solving. External services (2captcha, etc.) must be integrated separately.
  • Extreme Anti-Bot: While go-rod/stealth handles common detection (WebDriver, plugin fingerprints, WebGL), extremely strict systems (some Cloudflare configurations, Akamai Bot Manager) may still detect automation. Additional measures (residential proxies, human-like behavioral patterns) may be needed.
  • DRM Content: Cannot interact with DRM-protected media (e.g., Widevine).
  • Resource Usage: Each browser instance consumes significant RAM (~100-300MB+). Use PagePool and limit concurrency on memory-constrained systems.
  • Extensions in Headless: Chrome extensions do not work in headless mode. Use Headless(false) with XVFB for server environments.
  • Platform: Requires a Chromium-compatible browser. Does not support Firefox or Safari.
よくある質問

「ヘッドレスブラウザ」とは何ですか?

画面にウィンドウを表示せずに動作するブラウザのことです。サーバー上で自動化を行う場合や、操作の様子を見る必要がない場合に便利です。

ボット検出をすべて回避できますか?

一般的な検出を避けるために自動化の痕跡を隠そうとしますが、非常に高度なシステムでは、ボットであると見抜かれる可能性があります。

CAPTCHAを解くために使えますか?

いいえ、このエージェントはCAPTCHAを解くことはありません。そのためには別のサービスが必要です。

詳細

作者による元の説明

Comprehensive guide for browser automation and web scraping with go-rod (Chrome DevTools Protocol) including stealth anti-bot-detection patterns.

repo: sickn33/agentic-awesome-skills

人気

GitHubのスター
48k
ランキング
#4762
ライセンス
MIT
更新日
2026/10/15

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル