Content marketers
Topic research
Collect ranked videos for a keyword, compare titles and descriptions, then group repeated channels before planning new video briefs.
Limited Time — Lifetime Access for just $99. Lock in before prices rise.
This YouTube scraper exports YouTube search result metadata to a structured CSV. Import the workflow into UScraper, edit the search URL, and collect video titles, URLs, channel details, views, publish dates, descriptions, durations, thumbnails, and badges from the results that load in the browser.
CSV
10
Bounded scroll
Search results
Not required
At a glance
Turn YouTube results into rows
Export the fields teams usually copy by hand: video title, watch URL, channel name, channel URL, view count, publish date, description snippet, duration, thumbnail URL, and visible badge text.
Handle infinite scrolling
YouTube results load as the page scrolls. This workflow uses a bounded auto-scroll step that stops when page height stabilizes or the safe scroll limit is reached.
Keep the workflow local
Your search URL and CSV stay in the desktop workflow unless you add your own upload, sync, or sharing step.
Feed research workflows
Use the export for content gap research, creator mapping, topic monitoring, campaign reporting, AI enrichment, or BI cleanup.
Who this is for
Content marketers
Topic research
Collect ranked videos for a keyword, compare titles and descriptions, then group repeated channels before planning new video briefs.
SEO and growth teams
Search visibility
Export YouTube videos for product, category, or competitor searches and review publish recency, visible engagement, and thumbnail coverage.
Agencies and analysts
Client reporting
Create repeatable YouTube to CSV exports for approved keyword sets without wiring the YouTube Data API or paying per scraped result.
For adjacent workflows, pair this template with the YouTube Video List Scraper, YouTube Transcript Scraper, and Google SERP Scraper. You can also browse the full UScraper template library or install the local desktop app from the download page.
How to use
Edit the search URL
The Navigate block opens https://www.youtube.com/results?search_query=web+scraping. Replace the query with the topic, brand, product, or creator category you want to research.
Confirm the export path
Structured Export creates youtube-scraper.csv with headers. Change the save folder before running client-specific, campaign-specific, or recurring exports.
Run the scroll flow
UScraper sets a large browser window, navigates, handles a common consent prompt if present, waits for video cards, scrolls until the loaded page stabilizes, and pauses briefly.
Open the output
Review row count, spot-check several video URLs, and open the CSV in Excel, Sheets, a database import, or your analytics workflow.
Output preview
The sample rows below mirror the bundled export shape. Values depend on what YouTube renders for the query, region, language, and browser session.
| video_title | video_url | channel_name | views | published_date | duration | badge |
|---|---|---|---|---|---|---|
| Web Scraping Tutorial for Beginners | https://www.youtube.com/watch?v=abc123 | Automation Lab | 24K views | 3 months ago | 12:41 | CC |
| How to Export YouTube Search Results | https://www.youtube.com/watch?v=def456 | No-Code Data School | 8.7K views | 2 weeks ago | 9:08 | New |
| YouTube Data Extractor Workflow Demo | https://www.youtube.com/watch?v=ghi789 | Growth Ops Weekly | 41K views | 1 year ago | 18:20 |
youtube-scraper.csvColumn
video_title
Visible title from the YouTube search result card.
Column
video_url
Watch URL from the result title link.
Column
channel_name
Creator or channel name shown on the card.
Column
channel_url
Channel link when YouTube exposes it in the card.
Column
views
Visible view count text.
Column
published_date
Relative publish date or age label.
Column
description
Snippet displayed under the video result.
Column
duration
Visible video length from the thumbnail overlay.
Column
thumbnail_url
Thumbnail image URL from the result card.
Column
badge
Visible badge text such as CC, New, or other labels when present.
UScraper template
LocalAPI or cloud actor
CloudRuns in the desktop browser session
Good for reviewable no-code research runs.
Runs on vendor infrastructure or official endpoints
Better for sanctioned high-volume systems.
CSV saved to your chosen folder
Ready for spreadsheets and manual QA.
API responses, dashboards, or cloud exports
Often requires keys, quotas, credits, or account setup.
Search terms stay in your local workflow
Useful for sensitive competitor lists.
Queries pass through another service
May need vendor and client approval.
Automating YouTube can conflict with YouTube terms, robots directives, copyright rules, privacy laws, or jurisdiction-specific restrictions even when search listings are publicly visible. Keep runs modest, do not bypass verification, avoid republishing protected content, and get legal review before building commercial datasets.
Before you run
Operational guardrails for YouTube exports
Avoid aggressive repeated runs
YouTube may show consent, login, CAPTCHA, or bot-detection pages depending on IP, traffic volume, browser profile, and region. Start with one query before scaling.
Selectors can need maintenance
If titles, thumbnails, or badges start returning blanks, YouTube may have changed the result-card markup. Update the Structured Export columns before using the file in reporting.
Use the right access path for the job
For production systems that require sanctioned quota-backed access, compare the YouTube Data API search endpoint before relying on desktop scraping.
Download and use this template instantly
UScraper templates are open source. Improve this workflow or contribute a new one to help the community grow.
Contribute on GitHubBrowse more templates in the library
All TemplatesHere are some of our most common questions. Can't find what you're looking for?
View All FAQsDownload UScraper and build your first web scraper in under 10 minutes. No subscriptions, no code, no limits.
Available on Windows 10+ and macOS 12+ · Need help? [email protected]