Youtube Trend
Under maintenance
Pricing
Pay per event
Youtube Trend
Under maintenance
This Apify Actor is a web scraping tool designed to collect trending YouTube video data, focusing specifically on the United States.
0.0 (0)
Pricing
Pay per event
0
Total users
6
Monthly users
6
Runs succeeded
73%
Last modified
23 days ago
π YouTube Trending Scraper (Apify Actor) This Apify Actor scrapes the YouTube Trending page using undetected Chrome automation and extracts key information such as video titles, channel names, and metadata (e.g., views, upload time).
It is designed to bypass anti-bot mechanisms using undetected-chromedriver and headless Chrome. The scraped results are returned in structured JSON format via the Apify dataset.
π Features Headless Chrome browsing powered by undetected-chromedriver
Bypasses YouTube bot detection with advanced browser setup
Scrapes:
Video titles
Channel names
Metadata (views, upload time, etc.)
Outputs structured data to Apify dataset
Fully asynchronous and Apify SDK compatible
π§ Tech Stack Apify SDK for Python
Selenium
undetected-chromedriver
π₯ Input This Actor does not require any specific input configuration at the moment. It simply navigates to YouTube Trending and extracts available video information.
π€ Output The output is a JSON array of video data entries with the following structure:
[ { "channel": "Channel Name", "title": "Video Title", "details": "123K views β’ 2 hours ago" }, ... ]
This output is pushed to the Apify dataset automatically.
π How It Works Launches a headless Chrome browser with stealth settings.
Navigates to https://www.youtube.com/feed/trending.
Waits for the page to load and attempts to accept cookies if prompted.
Collects all video containers and extracts:
Channel name
Video title
Metadata
Saves and pushes the data to the Apify dataset.