Automatisierung & Workflow
YouTube-Videos mit Make herunterladen
YouTube-Videos mit Make herunterladen mit Hunt verwendenBauen Sie Video-Download-Workflows mit Make und HuntAPI. Archivieren Sie Inhalte, extrahieren Sie Audio für Podcasts und leiten Sie CDN-URLs an Drive, Slack oder Ihr CMS weiter.
Schnellstart
Hunt-Downloads sind asynchron. In Make: HTTP-Module plus Sleep/Repeat:
- HTTP
GET https://api.huntapi.com/v1/video/download?query=...→job_id - Sleep 5-10 Sekunden
- HTTP
GET https://api.huntapi.com/v1/jobs/{job_id} - Router / Filter: wenn
status≠CompletedJob, zurück zu Sleep; sonst weiter result.responseals Datei-URL nutzen
Header bei jedem Hunt-Call: x-api-key: YOUR_API_KEY
Download starten
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" }
Job pollen (Running)
{
"status": "Running",
"progress": 63,
"result": null
}
progress ist 0-100. In Make können Sie auf progress branchen solange Running.
Fertig
{
"status": "CompletedJob",
"progress": 100,
"result": {
"metadata": { "title": "Example video", "duration": 432 },
"response": "https://s3.huntapi.com/videos/<uuid>.mp4"
}
}
Metadaten ohne Download
GET https://api.huntapi.com/v1/media/metadata?query=https://www.youtube.com/watch?v=VIDEO_ID
x-api-key: YOUR_API_KEY
Dieses Modul zuerst nutzen, um zu lange Downloads zu überspringen.
Make-Szenario
- Trigger: Webhook, Google Sheets oder RSS
- HTTP - Metadata (optional)
- Filter: nur wenn
metadata.duration< Limit - HTTP - Download
- Repeater / Sleep: pollen bis
CompletedJoboderError result.responsean Drive / Dropbox / Slack
Alternative zum Polling: webhook_url am Download-Call, zweites Szenario für das Ergebnis.
Nützliche Parameter
| 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 |
Verwandt
VIDEO API
Discover why Hunt is the preferred API provider for developers.