Automatisering & Workflow

YouTube-video’s downloaden met Make

Gebruik YouTube-video’s downloaden met Make met Hunt
Make-automatisering met HuntAPI video download

Bouw video-downloadworkflows met Make en HuntAPI. Archiveer content, extraheer audio voor podcasts en stuur CDN-URL’s naar Drive, Slack of je CMS.

Snel starten

Hunt-downloads zijn asynchroon. In Make: HTTP-modules + sleep/repeat:

  1. HTTP download → job_id
  2. Sleep 5-10 seconden
  3. HTTP jobs
  4. Router: als niet CompletedJob, terug naar Sleep
  5. Gebruik result.response

Header: 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 is 0-100.

Klaar

{
  "status": "CompletedJob",
  "progress": 100,
  "result": {
    "metadata": { "title": "Example video", "duration": 432 },
    "response": "https://s3.huntapi.com/videos/<uuid>.mp4"
  }
}

Metadata zonder download

GET https://api.huntapi.com/v1/media/metadata?query=https://www.youtube.com/watch?v=VIDEO_ID
x-api-key: YOUR_API_KEY

Gebruik metadata eerst om te lange downloads over te slaan.

Make-scenario

  1. Trigger → 2. Metadata optioneel → 3. Filter duur → 4. Download → 5. Poll-loop → 6. CDN-URL doorsturen

Alternatief: webhook_url op de download-call.

Nuttige parameters

ParamValuesNotes
queryURLRequired
download_typeaudio_video, audio, videoaudio for MP3
video_qualitybest, 1080p, 720p, …Long videos (>1h) capped at 720p
webhook_urlURLOptional callback instead of polling

Gerelateerd

VIDEO API

Discover why Hunt is the preferred API provider for developers.