
YouTube Channel Email Extractor
FreeEfficiently extract business emails from YouTube channels.
Free · Opens the source repo
What YouTube Channel Email Extractor does
The YouTube Channel Email Extractor is a specialized tool designed to streamline the process of obtaining business inquiry emails from YouTube channels. By inputting a channel ID, handle, or URL, users can navigate directly to the channel's About page and extract relevant contact information along with detailed channel metadata. This includes the channel's name, subscriber count, view count, and external links categorized by type. The extractor prioritizes the email information that is already publicly displayed on the channel's About page, ensuring that users can quickly gather the necessary details for outreach or collaboration.
In cases where the business email is not explicitly listed on the About page, the extractor intelligently follows outbound links to personal or business sites associated with the channel. This allows users to find contact information that may be hosted on the creator's own website, thereby expanding the potential for successful outreach. The tool is particularly valuable for marketers, influencers, and agencies looking to build contact databases for influencer marketing, sponsorship prospecting, or brand collaborations.
The skill operates without requiring user authentication for data extraction, making it accessible and user-friendly. It is built using Python and integrates seamlessly with the browser, allowing users to execute commands with straightforward bash syntax. The output is structured in a clear JSON format, making it easy to integrate the extracted data into other applications or workflows. Whether you're looking to enrich existing YouTube channel lists with contact information or compile a list of potential collaborators, this extractor provides a robust solution for efficiently gathering business emails from YouTube channels.
When to use it
Use this tool when you need to gather business email contacts from YouTube channels for outreach, marketing, or collaboration purposes.
When not to use it
Avoid using this skill for channels that require login to view the About page or for channels that do not have publicly available emails.
What you can build with it
Building Influencer Contact Lists
Marketers can use this skill to compile lists of YouTube creators for outreach, ensuring they have accurate contact information.
Sponsorship Prospecting
Agencies can extract business emails from channels to identify potential sponsors and partners for campaigns.
Enriching Existing Databases
Users can enhance their existing YouTube channel lists with additional contact details, improving their outreach strategies.
How to install YouTube Channel Email Extractor
View source1. Install with the skills CLI
npx skills add browser-act/skills/youtube-channel-business-email --agent claude-code2. Or install it manually
Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.
Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs
Inside SKILL.md
Written by browser-actYouTube — Channel Business Email & Contact Extractor
Input: a YouTube channel id (
UCxxx), handle (@name), or channel URL. Output: structured channel metadata (id, name, counters, country, joined date, external links classified by kind) plus the channel's business email if it can be found on the About page description or on any linked personal/business website.
Language
All process output to user (progress updates, process notifications) follows the user's language.
Objective
Extract a YouTube channel's business inquiry email together with the channel's About metadata and outbound link list, prioritising what is already publicly displayed on the channel's About page; if no email is visible there, walk the channel's own outbound links (personal site, business site, link aggregator) to recover an email that the creator publishes on a site they control.
Prerequisites
- Target page is already open in the browser:
https://www.youtube.com/{@handle|channel/UCxxx}/about - No login is required for description and link extraction; running the browser while signed in to YouTube does not change what is returned by this Skill.
Pre-execution Checks
1. Tool Readiness
If browser-act has been confirmed available in the current session → skip this step.
Invoke browser-act via Skill tool to load usage. If installation or configuration issues arise, follow its guidance to resolve then retry.
Capability Components
This Skill's operational boundary = what the user can manually do in their browser. It only reads data already displayed to the user on the page, never bypassing authentication or access controls. Its role is equivalent to copy-pasting on the user's behalf — the data is already on screen, automation merely saves time. JS code is encapsulated in Python files under the
scripts/directory; each.pyscript prints a self-contained JS snippet to stdout. To execute that snippet in the browser, hand it to browser-act'sevalsubcommand via bash command substitution:browser-act --session <session-name> eval "$(python scripts/xxx.py {params})". The outer$(...)is bash syntax; use the bash tool to run it. Pure-Python scripts that already emit a JSON result on stdout (e.g.normalize-channel-input.py,extract-emails-from-text.py) are invoked directly:python scripts/xxx.py {params}— do NOT wrap them inbrowser-act eval.
API: normalize a channel input into a canonical /about URL
python scripts/normalize-channel-input.py '{channel-input}'
Parameters:
{channel-input}: a channel id (UCxxxxxxxxxxxxxxxxxxxxxx, 24 chars starting withUC), a handle (@name), a bare handle (name), or any channel URL (https://www.youtube.com/@name,https://www.youtube.com/channel/UCxxx,https://www.youtube.com/c/legacy,https://www.youtube.com/user/legacy). Trailing path segments and querystrings are stripped.
Output example:
{
"about_url": "https://www.youtube.com/@example/about", // canonical URL to navigate to before extraction
"input_type": "handle", // one of: handle | channel_id | channel_url | legacy_custom_url | bare_handle | raw_url
"value": "@example" // normalised value (handle with @ prefix, or channel id, or raw url)
}
On unrecognised input the script returns {"error": true, "message": "unrecognized input: ..."}.
DOM: extract channel About metadata + emails from description
Run from the channel's /about view (after navigate + wait stable). Reads window.ytInitialData.aboutChannelViewModel and pulls the description, full counter set, channel id, canonical URL, the resolved outbound links (with the YouTube redirect wrapper unwrapped), and any email addresses already present in the description text.
Extract: browser-act --session <session-name> eval "$(python scripts/extract-channel-about.py)"
Output example:
{
"channel_id": "UCxxxxxxxxxxxxxxxxxxxxxx", // YouTube channel id (UCxxx)
"channel_name": "Channel Display Name", // display name from channel metadata
"canonical_channel_url": "http://www.youtube.com/@example", // canonical channel URL reported by YouTube
"description": "Short bio line ...\n\nbusiness@example.com\n\nCity", // full About description text
"country": "United States", // country shown on the About panel (localised text)
"subscriber_count_text": "21M subscribers", // raw display text (locale-formatted)
"view_count_text": "5,455,901,172 views", // raw display text (locale-formatted)
"video_count_text": "1,831 videos", // raw display text (locale-formatted)
"joined_date_text": "Joined Mar 21, 2008", // raw display text (locale-formatted)
"has_business_email_reveal_button": true, // whether the "View email address" button is exposed on the page
"bypass_business_email_captcha": false, // whether the current viewer can skip the email reveal captcha
"emails_in_description": ["business@example.com"], // emails matched in the description text; empty array when none
"links": [ // outbound links with YouTube /redirect wrappers unwrapped
{"title": "Twitter", "display": "twitter.com/example", "url": "http://twitter.com/example"}
]
}
On failure (page is not a channel /about view, ytInitialData missing, or aboutChannelViewModel not present), the script returns {"error": true, "message": "..."}.
API: extract emails from arbitrary text + classify a URL by kind
python scripts/extract-emails-from-text.py [--text '{text}' | --text-file {path}] [--classify-url '{url}']
Parameters:
--text: raw text to scan for email addresses (plain, markdown, or HTML)--text-file: path to a UTF-8 text file to scan for email addresses--classify-url: URL to classify intosocial,link_aggregator, orpersonal_or_business(used to decide which outbound links are worth fetching during email recovery)
Output example (with --text and --classify-url):
{
"classification": {
"kind": "personal_or_business", // social | link_aggregator | personal_or_business | invalid
"domain": "example.com",
"url": "https://example.com/"
},
"emails": ["info@example.com"] // deduplicated, image/file extensions filtered out, obfuscated forms like name [at] brand [dot] io are recovered
}
Without any argument the script returns {"error": true, "message": "provide --text, --text-file, or --classify-url"}.
Composite: end-to-end channel-to-business-email lookup
Cross-page composite: input normalisation → navigation → About extraction → optional follow of one or more non-social outbound links to recover an email when the description had none.
Before the loop, ensure a scratch directory exists for the markdown dumps used in step 6: mkdir -p tmp (run once per batch, not per channel).
- Normalise the input:
python scripts/normalize-channel-input.py '{channel-input}'— readabout_urlfrom stdout. - Navigate the browser session to that URL and wait for it to render:
browser-act --session <session-name> navigate {about_url}→browser-act --session <session-name> wait stable --timeout 12000(aTimed out waiting for page readinesshere is recoverable — proceed if the URL and title reflect the channel; check Known Limitations). - Pull the channel About payload:
browser-act --session <session-name> eval "$(python scripts/extract-channel-about.py)" - If
emails_in_descriptionis non-empty, setbusiness_email = emails_in_description[0]andemail_source = "description". Stop and emit the result. - Otherwise classify each link to decide which outbound URLs to walk; skip
sociallinks (Twitter/Instagram/TikTok/Facebook/etc. — they require login and are unreliable to scrape): For eachlink.urlinlinks:python scripts/extract-emails-from-text.py --classify-url '{link.url}' - For every link classified as
personal_or_businessorlink_aggregator, fetch its rendered text and look for an email; stop at the first match:browser-act stealth-extract '{link.url}' --content-type markdown > tmp/site.mdpython scripts/extract-emails-from-text.py --text-file tmp/site.md- If the result has non-empty
emails, setbusiness_email = emails[0],email_source = "linked_website:{classification.domain}"and stop. - Order of attempts:
personal_or_businessfirst (most likely to host the creator's own contact page), thenlink_aggregator(linktr.ee / beacons.ai style pages that may surface a contact email).
- If no email is recovered, emit
business_email = null,email_source = null,status = "no_email_found".
Final emitted record (one per channel input):
{
"input": "@example", // original input as provided
"channel_id": "UCxxxxxxxxxxxxxxxxxxxxxx", // resolved YouTube channel id (UCxxx)
"channel_name": "Channel Display Name", // display name from channel metadata
"channel_url": "https://www.youtube.com/@example", // canonical channel URL
"business_email": "business@example.com", // recovered email, or null when none was found
"email_source": "description", // description | linked_website:{domain} | link_aggregator:{domain} | null
"country": "United States", // localised country text
"subscriber_count_text": "1.2M subscribers", // raw display text
"view_count_text": "123,456,789 views", // raw display text
"video_count_text": "987 videos", // raw display text
"joined_date_text": "Joined Jan 1, 2015", // raw display text
"has_business_email_reveal_button": true, // whether the "View email address" gate is offered on the channel
"links": [ // outbound links with classification appended
{"title": "Instagram", "display": "instagram.com/example", "url": "http://instagram.com/example", "kind": "social", "domain": "instagram.com"}
],
"status": "ok" // ok | no_email_found | error
}
On any unrecoverable error (input normalisation failed, navigation failed, extraction returned error: true), emit status = "error" together with the failing step name in error_step and the error message in error_message.
Known Limitations
- The "View email address" button on
/aboutis gated by reCAPTCHA and a YouTube server-side validation that rejects programmatically-solved captcha tokens (the call toyoutubei/v1/channel/reveal_business_emailreturns HTTP 400INVALID_ARGUMENTeven when a captcha solver returns success). Emails that only exist behind that reveal button cannot be recovered by this Skill — only emails published in the description text or on a creator-controlled outbound site are returned. wait stableon YouTube/aboutpages frequently exceeds the default 30s due to long-lived media streams; the extraction is still valid as long asytInitialData.aboutChannelViewModelis present (verified after the timeout). Treat a singleTimed out waiting for page readinessas recoverable and run the extraction script anyway.country,subscriber_count_text,view_count_text,video_count_text,joined_date_textare returned verbatim in the locale that the underlying browser renders (e.g. an en locale yields21M subscriberswhile a zh-CN locale yields its own localised string with native digit grouping and the localised word for "subscribers"). Downstream consumers must do the parsing.- Description-based email matching only finds emails that the creator typed into the About description. Many large creators (e.g. channels with
has_business_email_reveal_button = trueand an emptyemails_in_description) keep their email behind the captcha-gated button and will therefore not be recovered. - Outbound link walking is limited to one HTTP fetch per non-social link via
stealth-extract(no JS interaction, no crawling deeper than the landing page). Sites that hide their email behind a contact form or a JS-rendered modal that does not appear in the initial markdown will yield no email. - Image asset URLs whose path contains
@(e.g.image@2x.png) and YouTube video URLs containing@handleare deliberately filtered out of the email match results; the trade-off is that very unusual emails ending in.png/.jpg/.gif/.webp/.svg/.icowould also be rejected (not encountered in practice).
Execution Efficiency
- Batch orchestration: Write a bash script to loop through channel inputs serially within a single session; do not parallelize within one browser (prone to triggering anti-scraping restrictions). To increase throughput, open multiple stealth browser sessions and distribute work across them — each session has an independent fingerprint so rate limits apply per session.
- Test before batch execution: After writing a batch script, you must first test with 1-2 channels to verify the script runs correctly; only then run the full batch. Never skip testing and execute in batch directly.
- Reduce redundant pre-operations: Keep one browser session open across the whole batch (one
browser openthen manynavigates); avoid reopening the browser between channels. - Error resumption: Save results item by item during batch processing (append one JSON line per channel to an output file); on failure, resume from the breakpoint rather than starting over.
- Skip social link walking when not needed: The first match wins; once
emails_in_descriptionis non-empty, do not fetch any outbound link.
Experience Notes
Path: {working-directory}/browser-act-skill-forge-memories/youtube-channel-business-email-youtube-channel-business-email.memory.md (working directory is determined by the Agent running the Skill, typically the project root or current working directory)
Before execution: If the file exists, read it first — it records unexpected situations encountered during past executions (e.g., a strategy has become ineffective); adjust strategy order accordingly.
After execution: If an unexpected situation is encountered (strategy became ineffective, page redesigned, anti-scraping upgraded, better path discovered), append a line:
{YYYY-MM-DD}: {what happened} → {conclusion}
Normal execution does not write to the file. Do not record what keywords were used or how many results were returned — those are task outputs, not experience.
Frequently asked questions about YouTube Channel Email Extractor
Similar skills
Guideline Generation
Transform brand materials into actionable voice guidelines.
Landing Page Conversion Audit
Identify and fix conversion leaks on landing pages.
0-to-1 Launch
Accelerate your product launch to find early customers.
Competitor Ad Intelligence
Analyze and reverse-engineer competitor ad strategies.
Content Strategy
Generate data-driven content plans for your business.
Webinar Marketing
Optimize your webinars for better engagement and conversion.
