AI-assistenter

Cursor Video Downloader

/library/cursor-video-downloader

Brug Cursor Video Downloader med Hunt

Brug Cursor med HuntAPI til at downloade videoer, udtrække lyd og hente metadata mens du koder. Ideelt til agents, terminal og mediepipelines.

Agent-workflow

Bed Cursor:

Download denne video med HuntAPI og gem CDN-URL’en: <youtube-url>

Agenten bør:

  1. GET https://api.huntapi.com/v1/video/download?query=... → job_id
  2. Poll GET https://api.huntapi.com/v1/jobs/{job_id} indtil status=CompletedJob
  3. Læse progress (0–100) mens Running
  4. Returnere result.response

curl-eksempel

# Start
curl -s "https://api.huntapi.com/v1/video/download?query=VIDEO_URL&video_quality=720p" \
  -H "x-api-key: $HUNTAPI_API_KEY"

# Poll
curl -s "https://api.huntapi.com/v1/jobs/JOB_ID" \
  -H "x-api-key: $HUNTAPI_API_KEY"

# Metadata only
curl -s "https://api.huntapi.com/v1/media/metadata?query=VIDEO_URL" \
  -H "x-api-key: $HUNTAPI_API_KEY"

Tips

  • Gem HUNTAPI_API_KEY i Cursor-/shell-env - commit den aldrig
  • Brug https://api.huntapi.com/v1/media/metadata før download for at tjekke varighed
  • Kun lyd: download_type=audio

Relateret

VIDEO API

Discover why Hunt is the preferred API provider for developers.