🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/imputnet/cobalt/pull/709
**Author:** [@SmilerRyan](https://github.com/SmilerRyan)
**Created:** 9/2/2024
**Status:** ❌ Closed
**Base:** `current` ← **Head:** `current`
---
### 📝 Commits (3)
- [`57c6283`](https://github.com/imputnet/cobalt/commit/57c628378d0c9f5f92c568f9913770897d8d7ae8) api: add /api/best_audio route
- [`c98b0eb`](https://github.com/imputnet/cobalt/commit/c98b0eb120744e75cf448f91ebe18f9fff76e1e2) docs/api: Add /api/best_audio route information
- [`a2eb743`](https://github.com/imputnet/cobalt/commit/a2eb7432228918c98bc46b5d4b58b51f4f8e7dde) api: update /api/best_audio route error handling
### 📊 Changes
**2 files changed** (+40 additions, -0 deletions)
<details>
<summary>View changed files</summary>
📝 `docs/api.md` (+7 -0)
📝 `src/core/api.js` (+33 -0)
</details>
### 📄 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
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 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.