this endpoint seems to work, not sure if they disabled the other one but this returns the same info (from what i could tell?). The userAgent needs to be a mobile one, and version_code and device_type are required, although their values doesn't affect anything.
fyi, there's another endpoint queryBatchAweme, /aweme/v1/multi/aweme/detail/?aweme_ids=[], which returns the same info. And maybe the original one (queryAweme) still works too, not sure (both of them are still there on the app), but didn't wanna dig anymore since both of these work the same.
🔄 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/41
**Author:** [@minzique](https://github.com/minzique)
**Created:** 9/20/2022
**Status:** ❌ Closed
**Base:** `current` ← **Head:** `tiktok-fix`
---
### 📝 Commits (1)
- [`ce828ad`](https://github.com/imputnet/cobalt/commit/ce828adde18a0d3ab72e40e6c1eeada1cb3cec65) fix tiktok downloads
### 📊 Changes
**2 files changed** (+13 additions, -16 deletions)
<details>
<summary>View changed files</summary>
📝 `src/modules/services/tiktok.js` (+12 -15)
📝 `src/modules/servicesConfig.json` (+1 -1)
</details>
### 📄 Description
this endpoint seems to work, not sure if they disabled the other one but this returns the same info (from what i could tell?). The `userAgent` needs to be a mobile one, and `version_code` and `device_type` are required, although their values doesn't affect anything.
fyi, there's another endpoint `queryBatchAweme`, `/aweme/v1/multi/aweme/detail/?aweme_ids=[]`, which returns the same info. And maybe the original one (`queryAweme`) still works too, not sure (both of them are still there on the app), but didn't wanna dig anymore since both of these work the same.
`curl 'https://api.tiktokv.com/aweme/v1/multi/aweme/detail/?aweme_ids=%5B7145492359399197998%5D&version_code=26.2.0&app_name=musical_ly&channel=App&device_id=null&os_version=14.4.2&device_platform=iphone&device_type=iPhone9' -H 'user-agent: TikTok 26.2.0 rv:262018 (iPhone; iOS 14.4.2; en_US) Cronet'`
---
<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/41
Author: @minzique
Created: 9/20/2022
Status: ❌ Closed
Base:
current← Head:tiktok-fix📝 Commits (1)
ce828adfix tiktok downloads📊 Changes
2 files changed (+13 additions, -16 deletions)
View changed files
📝
src/modules/services/tiktok.js(+12 -15)📝
src/modules/servicesConfig.json(+1 -1)📄 Description
this endpoint seems to work, not sure if they disabled the other one but this returns the same info (from what i could tell?). The
userAgentneeds to be a mobile one, andversion_codeanddevice_typeare required, although their values doesn't affect anything.fyi, there's another endpoint
queryBatchAweme,/aweme/v1/multi/aweme/detail/?aweme_ids=[], which returns the same info. And maybe the original one (queryAweme) still works too, not sure (both of them are still there on the app), but didn't wanna dig anymore since both of these work the same.curl 'https://api.tiktokv.com/aweme/v1/multi/aweme/detail/?aweme_ids=%5B7145492359399197998%5D&version_code=26.2.0&app_name=musical_ly&channel=App&device_id=null&os_version=14.4.2&device_platform=iphone&device_type=iPhone9' -H 'user-agent: TikTok 26.2.0 rv:262018 (iPhone; iOS 14.4.2; en_US) Cronet'🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.