Automatisering & Workflow
Download YouTube-videoer med Make
Brug Download YouTube-videoer med Make med HuntByg video-downloadworkflows med Make og HuntAPI. Arkivér indhold, udtræk lyd til podcasts og send CDN-URL’er til Drive, Slack eller dit CMS.
Hurtig start
Hunt-downloads er asynkrone. I Make: HTTP-moduler + sleep/repeat:
- HTTP download →
job_id - Sleep 5-10 sekunder
- HTTP jobs
- Router: hvis ikke
CompletedJob, tilbage til Sleep - Brug
result.response
Header: x-api-key: YOUR_API_KEY
Start download
GET https://api.huntapi.com/v1/video/download?query=https://www.youtube.com/watch?v=VIDEO_ID&video_quality=720p
x-api-key: YOUR_API_KEY
{ "job_id": "0193443f-fb80-9d19-29ba-82bc77c7cd84" }
Poll job (Running)
{
"status": "Running",
"progress": 63,
"result": null
}
progress er 0-100.
Fuldført
{
"status": "CompletedJob",
"progress": 100,
"result": {
"metadata": { "title": "Example video", "duration": 432 },
"response": "https://s3.huntapi.com/videos/<uuid>.mp4"
}
}
Metadata uden download
GET https://api.huntapi.com/v1/media/metadata?query=https://www.youtube.com/watch?v=VIDEO_ID
x-api-key: YOUR_API_KEY
Brug metadata først for at springe for lange downloads over.
Make-scenarie
- Trigger → 2. Metadata valgfrit → 3. Filter varighed → 4. Download → 5. Poll-loop → 6. Send CDN-URL
Alternativ: webhook_url på download-kaldet.
Nyttige parametre
| Param | Values | Notes |
|---|---|---|
query | URL | Required |
download_type | audio_video, audio, video | audio for MP3 |
video_quality | best, 1080p, 720p, … | Long videos (>1h) capped at 720p |
webhook_url | URL | Optional callback instead of polling |
Relateret
VIDEO API
Discover why Hunt is the preferred API provider for developers.