mirror of
https://github.com/wukko/cobalt.git
synced 2025-03-22 00:59:23 +01:00
Merge branch 'main' into main
This commit is contained in:
commit
a963a72577
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ export default async function(obj) {
|
||||||
if (!postId) return { error: "fetch.short_link" };
|
if (!postId) return { error: "fetch.short_link" };
|
||||||
|
|
||||||
// should always be /video/, even for photos
|
// should always be /video/, even for photos
|
||||||
const res = await fetch(`https://tiktok.com/@i/video/${postId}`, {
|
const res = await fetch(`https://www.tiktok.com/@i/video/${postId}`, {
|
||||||
headers: {
|
headers: {
|
||||||
"user-agent": genericUserAgent,
|
"user-agent": genericUserAgent,
|
||||||
cookie,
|
cookie,
|
||||||
|
|
Loading…
Reference in a new issue