Actor: YouTube Video Clipper 🎬
Downloads Youtube video clips
Features
✅ Download YouTube clips by specifying start and end timestamps.
✅ Extract clips based on spoken phrases by analyzing video transcripts.
✅ Automatically authenticate using YouTube cookies.
✅ Uses Apify Proxy to avoid detection.
This Apify Actor enables you to download specific video clips from YouTube based on either timestamps or text segments extracted from the video transcript. The Actor utilizes yt-dlp, Puppeteer, and Apify SDK to handle video fetching, authentication via exported cookies, and transcript analysis.
Features
Download video clips by timestamp: Provide a start and end time to extract a specific segment.
Download video clips by text segment: Automatically determine timestamps by searching the transcript.
Fetch YouTube authentication cookies: Uses Puppeteer to extract and store session cookies for authentication.
Supports proxy configuration: Ensures successful video access and downloads via rotating proxies.
Handles transcripts intelligently: Fetches auto-generated subtitles and processes them for timestamp extraction.
How It Works
Fetch YouTube Cookies
Uses Puppeteer to log in and extract cookies.
Saves cookies in Netscape format for yt-dlp authentication.
Download Video Transcript(Optional)
Fetches and saves the transcript in .vtt format.
Converts transcript to plain text for easier processing.
Find Timestamps from Text(If using text-based clipping)
Searches transcript for a specific phrase and extracts timestamps.
Adds buffer time before and after the detected segment.
Download Video Clip
Uses yt-dlp with cookies and proxy support.
Clips the desired section based on timestamps.
Saves the extracted video file on Apify Storage.
🛠 Input Parameters
Using your own Cookies is encouraged to avoid getting blocked by youtube they (provided cookies are not stored anywhere)
The Actor accepts a JSON object with the following parameters:
Parameter
Type
Required
Description
videoUrl
string
✅
The URL of the YouTube video.
fileName
string
❌
Name of the output video file.
startTime
number
❌
Start time in seconds (Required if method="timestamps").
endTime
number
❌
End time in seconds (Required if method="timestamps").
textSegment
string
❌
A spoken phrase to locate in the transcript (Required if method="textSegment").
startSegment
string
❌
Start phrase in the transcript (Required if method="startEndText").
endSegment
string
❌
End phrase in the transcript (Required if method="startEndText").
downloadTranscriptFlag
boolean
❌
Whether to save the full transcript (true or false, default: false).
1{2"videoUrl":"https://www.youtube.com/watch?v=abc123",3"fileName":"example_clip",4"startSegment":"Let's begin our tutorial",5"endSegment":"That concludes our session",6"videoQuality":144,7"downloadTranscriptFlag":true,8}
📦 Output Storage
The extracted video clip and transcript (if requested) are stored in Apify Key-Value Store.
Video file:{fileName}.webm
Transcript (if requested):
{fileName}_transcript.txt (Plain text)
{fileName}_transcript.vtt (VTT format)
You can retrieve the files from Key-Value Store via the Apify API or Console.
Frequently Asked Questions
Is it legal to scrape job listings or public data?
Yes, if you're scraping publicly available data for personal or internal use. Always review Websute's Terms of Service before large-scale use or redistribution.
Do I need to code to use this scraper?
No. This is a no-code tool — just enter a job title, location, and run the scraper directly from your dashboard or Apify actor page.
What data does it extract?
It extracts job titles, companies, salaries (if available), descriptions, locations, and post dates. You can export all of it to Excel or JSON.
Can I scrape multiple pages or filter by location?
Yes, you can scrape multiple pages and refine by job title, location, keyword, or more depending on the input settings you use.
How do I get started?
You can use the Try Now button on this page to go to the scraper. You’ll be guided to input a search term and get structured results. No setup needed!