Teams searching for how to scrape YouTube comments usually want a working dataset, not a generic crawler tutorial. The YouTube Comments Scraper for Short Videos template turns selected short-form video watch URLs into a structured CSV with comment text, usernames, like counts, reply-count text, timestamps, video titles, source URLs, and author channel URLs.
Problem
Why YouTube comment research needs more than screenshots
YouTube comments show the audience talking back: questions, objections, jokes, complaints, product requests, creator mentions, and real language around a topic. The problem is that comments are lazy-loaded, threaded, edited over time, and easy to separate from source context. A screenshot can prove one comment existed. It does not give a researcher, newsroom, SEO team, or analyst a clean table.
Manual copy-paste gets worse after the first video. Usernames drift away from comment text, timestamps are copied inconsistently, reply counts disappear, and the team loses which comment came from which source clip.
A comment dataset is only useful if every row keeps its source video, visible comment text, author label, timing, and collection notes together.
For API-first projects, the official YouTube Data API documents commentThreads.list for comment threads and comments.list for comment resources and replies. That route fits sanctioned integrations. This template solves a narrower job: supervised CSV export when the deliverable is a spreadsheet.
Personas
Who uses a YouTube comments scraper?
| Persona | Manual pain | CSV outcome |
|---|---|---|
| Researchers | Qualitative coding breaks when comments are copied without video context. | Export comment text, user label, timestamp, vote count, and source URL for annotation. |
| Newsrooms | Screenshots are hard to search, quote, and verify across multiple videos. | Preserve row-level evidence that can be checked against the original watch URL. |
| SEO teams | Audience language is buried inside comments and repeated questions. | Mine phrases, objections, and topic clusters for briefs, FAQs, and creator strategy. |
| Social listening teams | Tools summarize trends but may not expose the rows behind a claim. | Keep an auditable CSV for sentiment review, moderation notes, and escalation. |
| Agencies | Client reporting needs repeatable exports, not scattered browser tabs. | Run a known URL list and deliver a structured file with consistent columns. |
Template
What the short-video template exports
The bundle does not include a finished CSV sample. The JSON workflow is the authoritative sample of how the export is built:
Set Window Size -> Navigate -> Wait for Page Load -> Sleep
-> Inject JavaScript scroll loop -> Wait for normalized comments
-> Structured Export -> Loop Continue
The injected JavaScript scrolls toward YouTube's comment continuation area, waits for lazy-loaded rows, stops when the page stabilizes, and writes clean data attributes onto each loaded top-level comment thread. Structured Export appends those rows to the CSV. Reply drawers are not expanded by default; the workflow captures visible reply-count text when YouTube exposes it.
youtube_comments_scraper_shortvideo.csvColumn
video_url
Watch URL processed in the current loop.
Column
video_title
Visible title or page-title fallback.
Column
comment_user_name
Comment author display name.
Column
comment
Top-level comment text normalized into one line.
Column
vote_counts
Visible like or vote count text.
Column
sub_reply_amounts
Visible reply-count prompt.
Column
comment_time
Published-time label beside the comment.
Column
comment_author_channel_url
Author channel URL when available.
Workflows
Concrete workflows for YouTube comment sentiment analysis
Build a research sample
Collect a defined set of short video URLs, run one video first, then export rows for coding or theme tagging.
Support newsroom verification
Use the CSV as an evidence table. Keep screenshots separately, but let the export preserve URLs, timestamps, authors, and text.
Mine SEO language
Comments reveal viewer words for problems, tutorials, objections, products, and comparisons.
Monitor campaign reactions
Export launch, sponsored, or competitor comments, then compare repeated questions and sentiment labels.
For adjacent workflows, browse the UScraper template library, return to the UScraper blog, or pair this export with video-list and transcript templates.
Decision
YouTube comments API alternative or local CSV workflow?
The right route depends on whether the job is a product integration or an analyst-led export.
| Route | Best fit | Trade-off |
|---|---|---|
| YouTube Data API | Approved integrations with credentials, quotas, and documented endpoints. | Requires setup, quota management, compliance review, and code. |
| Hosted scraper tools | Scheduled cloud jobs, managed infrastructure, or JSON delivery. | Data, logs, billing, and retries live with the provider. |
| UScraper local desktop template | Supervised exports, browser QA, editable steps, and CSV files on disk. | Best for reviewed batches, not unattended production ingestion. |
Guardrails
Compliance and QA guardrails
Before scaling any YouTube comments scraper, read the YouTube API Services Terms of Service, Developer Policies, and quota and compliance audit guidance. Also account for privacy, copyright, consent, retention, and reuse.
| Guardrail | Why it matters |
|---|---|
| Save the URL list | Shows exactly which videos were in scope. |
| Record the run date | Comments, rankings, availability, and moderation can change. |
| Run one video first | Confirms comments loaded and selectors still match the page. |
| Stop on verification prompts | Prompts change access, permission, and data quality assumptions. |
FAQ
YouTube comments scraper FAQ
Researchers, newsrooms, SEO teams, social listening analysts, creators, and agencies use it when they need public comment rows tied to video URLs, authors, timestamps, likes, and reply counts.
Next step
Download the YouTube comments scraper template
Use YouTube Comments Scraper for Short Videos when your team has a defined video list and needs a local CSV for review. Run one watch URL first, compare the export with the page, then expand after the rows match what you see.

