mirror of
https://github.com/imputnet/cobalt.git
synced 2026-05-22 22:39:42 -05:00
[PR #709] [CLOSED] feat: api route for best audio only #13075
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/imputnet/cobalt/pull/709
Author: @SmilerRyan
Created: 9/2/2024
Status: ❌ Closed
Base:
current← Head:current📝 Commits (3)
57c6283api: add /api/best_audio routec98b0ebdocs/api: Add /api/best_audio route informationa2eb743api: update /api/best_audio route error handling📊 Changes
2 files changed (+40 additions, -0 deletions)
View changed files
📝
docs/api.md(+7 -0)📝
src/core/api.js(+33 -0)📄 Description
Mostly solves issues #707 and #708.
Adds an endpoint to directly get a link to the best available audio.
Tested with a YouTube Video and Instagram photo. Example Endpoint URLs:
http://localhost:9000/api/best_audio?url=https://www.youtube.com/watch?v=wcT7zgL6gug
http://localhost:9000/api/best_audio?url=https://www.threads.net/@soren.iverson/post/C8PdJ59pMLr
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.