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.
Fetch YouTube Cookies
yt-dlp
authentication.Download Video Transcript (Optional)
.vtt
format.Find Timestamps from Text (If using text-based clipping)
Download Video Clip
yt-dlp
with cookies and proxy support.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 ). |
videoQuality | string | ❌ | Video quality (default: 360 ). |
cookies | string | ❌ | Cookies in Netscape format |
###Basic Structure
1{ 2 "tasks": [ 3 { 4 "videoUrl": "https://www.youtube.com/watch?v=abc123", 5 6 } 7 ] 8 "cookies": "# Netscape HTTP Cookie File\n..." 9} 10 11### 📌 Clip by Timestamps 12```json 13{ 14 "videoUrl": "https://www.youtube.com/watch?v=abc123", 15 "fileName": "example_clip", 16 "startTime": 30, 17 "endTime": 60, 18 "videoQuality": 720, 19}
1{ 2 "videoUrl": "https://www.youtube.com/watch?v=abc123", 3 "fileName": "example_clip", 4 "method": "textSegment", 5 "textSegment": "Hello everyone, welcome back!", 6 "videoQuality": 1080, 7}
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}
The extracted video clip and transcript (if requested) are stored in Apify Key-Value Store.
{fileName}.webm
{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.
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.
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.
It extracts job titles, companies, salaries (if available), descriptions, locations, and post dates. You can export all of it to Excel or JSON.
Yes, you can scrape multiple pages and refine by job title, location, keyword, or more depending on the input settings you use.
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!