[PR #1441] Added legacy API fallback for audio/video Tumblr posts. #13624

Open
opened 2026-05-15 02:41:44 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/imputnet/cobalt/pull/1441
Author: @abishek77s
Created: 9/16/2025
Status: 🔄 Open

Base: developHead: bug/tumblr


📝 Commits (7)

  • e66ff20 Added legacy API fallback for audio/video Tumblr posts.
  • 3e25b91 api/package: bump youtubei.js to 16.0.0
  • dad8bf8 api/youtube: try new session server
  • c86ab40 youtube: fix custom fetch breakage
  • 1dc0aa8 youtube: provide own JS interpreter
  • 91989b8 youtube: await decipher()s
  • 5be23f9 Merge branch 'develop' into bug/tumblr

📊 Changes

5 files changed (+134 additions, -56 deletions)

View changed files

📝 api/package.json (+1 -1)
📝 api/src/processing/helpers/youtube-session.js (+6 -2)
📝 api/src/processing/services/tumblr.js (+75 -30)
📝 api/src/processing/services/youtube.js (+40 -9)
📝 pnpm-lock.yaml (+12 -14)

📄 Description

Add fallback to legacy Tumblr API for audio/video downloads.

  • Tries legacy API first for public posts.
  • Falls back to new API if legacy fails.
  • Supports both audio and video posts.

Testing

  • Verify audio/video downloads on public Tumblr posts.
  • Older links should still work.
  • Private posts return link.unsupported.

🔄 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/1441 **Author:** [@abishek77s](https://github.com/abishek77s) **Created:** 9/16/2025 **Status:** 🔄 Open **Base:** `develop` ← **Head:** `bug/tumblr` --- ### 📝 Commits (7) - [`e66ff20`](https://github.com/imputnet/cobalt/commit/e66ff20ceda472b8b2c1e87922e0b505b262608f) Added legacy API fallback for audio/video Tumblr posts. - [`3e25b91`](https://github.com/imputnet/cobalt/commit/3e25b91b67f05d06e0e436d891b8369f475cce7f) api/package: bump youtubei.js to 16.0.0 - [`dad8bf8`](https://github.com/imputnet/cobalt/commit/dad8bf8baabdb0cf7fd1dc6fe15d24c1ed564a43) api/youtube: try new session server - [`c86ab40`](https://github.com/imputnet/cobalt/commit/c86ab40acd8ea6f8c13d9e398815ce8073c3998a) youtube: fix custom fetch breakage - [`1dc0aa8`](https://github.com/imputnet/cobalt/commit/1dc0aa89df7adbf4e1873c8d2e55171ea277b771) youtube: provide own JS interpreter - [`91989b8`](https://github.com/imputnet/cobalt/commit/91989b8de11d5453b0de4f7421d71f65240662d8) youtube: await decipher()s - [`5be23f9`](https://github.com/imputnet/cobalt/commit/5be23f9fa288dcf6ccb24f6d442a75562e2fa20d) Merge branch 'develop' into bug/tumblr ### 📊 Changes **5 files changed** (+134 additions, -56 deletions) <details> <summary>View changed files</summary> 📝 `api/package.json` (+1 -1) 📝 `api/src/processing/helpers/youtube-session.js` (+6 -2) 📝 `api/src/processing/services/tumblr.js` (+75 -30) 📝 `api/src/processing/services/youtube.js` (+40 -9) 📝 `pnpm-lock.yaml` (+12 -14) </details> ### 📄 Description ## Related Issue - https://github.com/imputnet/cobalt/issues/1434 Add fallback to legacy Tumblr API for audio/video downloads. - Tries legacy API first for public posts. - Falls back to new API if legacy fails. - Supports both audio and video posts. ## Testing - Verify audio/video downloads on public Tumblr posts. - Older links should still work. - Private posts return `link.unsupported`. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-15 02:41:44 -05:00
Sign in to join this conversation.