[PR #25] [CLOSED] Fix TikTok download issue #986

Closed
opened 2025-11-09 10:03:28 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/imputnet/cobalt/pull/25
Author: @minzique
Created: 8/29/2022
Status: Closed

Base: currentHead: current


📝 Commits (1)

  • e80d2ec Fix TikTok download issue

📊 Changes

3 files changed (+6 additions, -4 deletions)

View changed files

📝 src/config.json (+1 -0)
📝 src/modules/config.js (+2 -1)
📝 src/modules/services/tiktok.js (+3 -3)

📄 Description

Not exactly sure what's going on here (the API is just being weird /shrug), but omitting the browser version in the user-agent fixes the issue, at least for the moment. Added a genericUserAgentTikTok without the browser version.


🔄 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/25 **Author:** [@minzique](https://github.com/minzique) **Created:** 8/29/2022 **Status:** ❌ Closed **Base:** `current` ← **Head:** `current` --- ### 📝 Commits (1) - [`e80d2ec`](https://github.com/imputnet/cobalt/commit/e80d2ec01ef80b6dd88559576823f06dc3d7f087) Fix TikTok download issue ### 📊 Changes **3 files changed** (+6 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `src/config.json` (+1 -0) 📝 `src/modules/config.js` (+2 -1) 📝 `src/modules/services/tiktok.js` (+3 -3) </details> ### 📄 Description Not exactly sure what's going on here (the API is just being weird /shrug), but omitting the browser version in the `user-agent` fixes the issue, at least for the moment. Added a `genericUserAgentTikTok` without the browser version. --- <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 2025-11-09 10:03:28 -06:00
Sign in to join this conversation.