- Home
- Skills
- Research & Analysis
- YouTube Channel Scraper
YouTube Channel Scraper
Automated YouTube scraper and analyzer that ranks channels by view-to-subscriber engagement rates.
Free
YouTube Channel Scraper
Example session with this skill installed
I need to compare the engagement of these three YouTube channels: mkbhd, veritasium, and CGPlay. Run the scraper and show me who has the best views-to-subscriber ratio.
- Read your context and instructions
- Compiled the youtube channel scraper
I ran the YouTube Channel Scraper on the three channels and analyzed the results with pandas.
Summary: mkbhd has the highest engagement rate (total lifetime views per subscriber) at about 275.9, followed by veritasium at 223.1 and CGPlay at 36.8. mkbhd and veritasium both have 21.5M subscribers, so the gap comes from total views: mkbhd has about 1.1 billion more.
YouTube Channel Engagement Ranking
| Channel | Subscribers | Total views | Engagement rate (views/sub) |
|---|---|---|---|
| mkbhd | 21,500,000 | 5,931,903,670 | 275.90 |
| veritasium | 21,500,000 | 4,797,187,584 | 223.13 |
| CGPlay | 130,000 | 4,779,732 | 36.77 |
Note: Counts were collected from each channel's public About page in November 2026. YouTube rounds subscriber counts (e.g. 21.5M), so rates are approximate. Engagement rate is total lifetime views divided by subscribers.
Raw data saved to youtube_data.json:
[
{
"channel": "mkbhd",
"lang": "en",
"subscribers_text": "21.5M subscribers",
"views_text": "5,931,903,670 views"
},
{
"channel": "veritasium",
"lang": "en",
"subscribers_text": "21.5M subscribers",
"views_text": "4,797,187,584 views"
},
{
"channel": "CGPlay",
"lang": "en",
"subscribers_text": "130K subscribers",
"views_text": "4,779,732 views"
}
]
Next steps
- Open
engagement_chart.pngin the project folder to see the bar chart comparison. - If any value comes back as
null, re-run with--dump-texts texts.txtto check whether YouTube's layout changed. - Run
python scripts/analise.py --showto view the chart in an interactive window.
Connects securely to your tools. The creator never sees your data.
About this skill
Comparing YouTube creators or scouting competitors usually involves tedious manual data entry from multiple About pages. This skill automates the extraction of subscriber counts and lifetime views for a list of handles, calculating a comparative engagement metric.
What it does
- Automated scraping visits YouTube About pages via Selenium to extract raw subscriber and view counts.
- Metric calculation computes an engagement rate defined as total views per subscriber to benchmark channel efficiency.
- Data persistence saves raw scraped results into structured JSON files for audit or reuse.
- Visual reporting generates sorted tables and PNG bar charts using pandas and matplotlib.
- Language fallback handles both English and Portuguese YouTube interfaces automatically during extraction.
How it works
- Extraction Run
scripts/automacao.pywith a list of channel handles to trigger the Selenium Chrome driver. - Review Inspect the generated JSON output to ensure no null values were returned due to hidden counts.
- Analysis Run
scripts/analise.pyto process the JSON and generate the engagement ranking. - Visualization Output a bar chart to PNG for inclusion in reports or presentations.
Frameworks & tools
Python 3.10, Selenium, Google Chrome, pandas, and matplotlib.
Why this beats prompting it yourself
Standard LLMs rely on stale training data for channel metrics. This tool pulls live data directly from the DOM, ensuring your benchmarks reflect current subscriber tiers and view counts.
Use cases
- Competitor benchmarking Compare a set of rival channels to see who converts views to subscribers most effectively.
- Influencer vetting Validate public metrics for a list of potential brand partners before outreach.
- Market research Track growth trajectories or saturation in specific niches by logging data over time.
Known limitations
Dependent on YouTube layout stability. Only extracts subscribers and total views. Requires local Chrome installation and may be interrupted by cookie consent prompts in certain regions.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 5 days ago
- Free with an Agensi account
- Accounts
Youtube
- Software
Python 3.10+Google Chrome
Run pip install -r requirements.txt first. Needs internet and Google Chrome; a Chrome window opens while collecting, so don't close it. Depends on YouTube's layout and may need updates. You are responsible for following YouTube's Terms of Service.
Permissions
Allowed Hosts
File Scopes
What's inside
Frequently Asked Questions
New in Research & Analysis
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Research & Analysis.