<!DOCTYPE html>
<html lang="tr">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>TikTok Video İndirici</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            text-align: center;
            margin: 50px;
        }
        input {
            width: 80%;
            padding: 10px;
            margin: 10px 0;
        }
        button {
            padding: 10px 20px;
            background-color: #ff0050;
            color: white;
            border: none;
            cursor: pointer;
        }
        button:hover {
            background-color: #e60045;
        }
        video {
            display: none;
            width: 50%;
            max-width: 300px;
            height: auto;
            margin-top: 20px;
        }
    </style>
</head>
<body>
    <h2>TikTok Video İndirici</h2>
    <input type="text" id="videoUrl" placeholder="TikTok video linkini girin">
    <button onclick="downloadVideo()">Videoyu İndir</button>
    <video id="preview" controls></video>
    <a id="downloadLink" style="display:none; margin-top:20px;" download>Videoyu İndir</a>

    <script>
        async function downloadVideo() {
            const url = document.getElementById('videoUrl').value;
            if (!url) {
                alert('Lütfen bir TikTok video bağlantısı girin!');
                return;
            }
            
            try {
                const response = await fetch('https://tikwm.com/api/', {
                    method: 'POST',
                    headers: {
                        'Content-Type': 'application/json'
                    },
                    body: JSON.stringify({
                        url: url
                    })
                });
                
                const data = await response.json();
                
                if (data.data && data.data.play) {
                    const videoSrc = data.data.play;
                    const videoElement = document.getElementById('preview');
                    const downloadLink = document.getElementById('downloadLink');

                    videoElement.src = videoSrc;
                    videoElement.style.display = 'block';
                    
                    downloadLink.href = videoSrc;
                    downloadLink.style.display = 'block';
                    downloadLink.innerText = 'Videoyu İndir';
                } else {
                    alert('Video indirilemedi! Geçerli bir bağlantı girdiğinizden emin olun.');
                }
            } catch (error) {
                alert('Bir hata oluştu, tekrar deneyin!');
            }
        }
    </script>
</body>
</html>
Selamlar kodları https://codepen.io/pen/ bu sitede veya farklı sitede test edebilirsiniz bu indirici filgransız indirme olanağı sunuyor görseldeki görüntü çıktısıdır



örnek rastgele bir tiktok video urlsini giriyoruz video indir diyoruz



hem video önizlemesi hem de video indir linki geliyor bastığımızda iniyor



bugün kü uygulamamız bu şekilde iyi forumlar...