AI-assistenter
Cursor Video Downloader
Brug Cursor Video Downloader med HuntBrug 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:
GET https://api.huntapi.com/v1/video/download?query=...→job_id- Poll
GET https://api.huntapi.com/v1/jobs/{job_id}indtilstatus=CompletedJob - Læse
progress(0–100) mensRunning - 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_KEYi Cursor-/shell-env - commit den aldrig - Brug
https://api.huntapi.com/v1/media/metadatafør download for at tjekke varighed - Kun lyd:
download_type=audio
Relateret
VIDEO API
Discover why Hunt is the preferred API provider for developers.