mirror of
https://github.com/imputnet/cobalt.git
synced 2026-03-09 15:24:14 -05:00
[PR #41] [CLOSED] fix tiktok downloads #998
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/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.