fix Analyse

This commit is contained in:
nadja
2026-08-26 15:18:50 +02:00
parent eab8e82674
commit 146dad6f79
4 changed files with 17 additions and 15 deletions

View File

@@ -1,5 +1,3 @@
import fetch from 'node-fetch';
export async function getTikTokData(url) {
const oembedUrl = `https://www.tiktok.com/oembed?url=${encodeURIComponent(url)}`;
const response = await fetch(oembedUrl);