Spaces:
Running
Running
Download index.html from AutoPost/cleanvideodl: direct link, hf CLI and curl.
- Browser
- Download file 14.5 kB
-
https://huggingface.co/spaces/AutoPost/cleanvideodl/resolve/main/index.html
- Command line
-
hf download hf://spaces/AutoPost/cleanvideodl/index.html
-
curl -L -o index.html https://huggingface.co/spaces/AutoPost/cleanvideodl/resolve/main/index.html
14.5 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Clean Video Downloader</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
| <style> | |
| .gradient-bg { | |
| background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); | |
| } | |
| .download-option:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); | |
| } | |
| .pulse { | |
| animation: pulse 2s infinite; | |
| } | |
| @keyframes pulse { | |
| 0% { | |
| transform: scale(1); | |
| } | |
| 50% { | |
| transform: scale(1.05); | |
| } | |
| 100% { | |
| transform: scale(1); | |
| } | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-100 min-h-screen"> | |
| <!-- Header --> | |
| <header class="gradient-bg text-white shadow-lg"> | |
| <div class="container mx-auto px-4 py-6"> | |
| <div class="flex justify-between items-center"> | |
| <div class="flex items-center space-x-2"> | |
| <i class="fas fa-download text-2xl"></i> | |
| <h1 class="text-2xl font-bold">CleanVideoDL</h1> | |
| </div> | |
| <nav class="hidden md:flex space-x-6"> | |
| <a href="#" class="hover:text-gray-200">Home</a> | |
| <a href="#" class="hover:text-gray-200">How to Use</a> | |
| <a href="#" class="hover:text-gray-200">FAQ</a> | |
| <a href="#" class="hover:text-gray-200">Contact</a> | |
| </nav> | |
| <button class="md:hidden text-xl"> | |
| <i class="fas fa-bars"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- Main Content --> | |
| <main class="container mx-auto px-4 py-8"> | |
| <!-- Hero Section --> | |
| <section class="text-center mb-12"> | |
| <h2 class="text-4xl font-bold mb-4 text-gray-800">Download Videos Easily</h2> | |
| <p class="text-xl text-gray-600 mb-8">Paste your YouTube link below to download in multiple formats</p> | |
| <!-- URL Input --> | |
| <div class="max-w-3xl mx-auto bg-white rounded-lg shadow-xl p-6"> | |
| <div class="flex flex-col md:flex-row gap-4"> | |
| <input | |
| type="text" | |
| id="videoUrl" | |
| placeholder="Paste YouTube URL here..." | |
| class="flex-grow px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-purple-500" | |
| > | |
| <button | |
| id="downloadBtn" | |
| class="px-6 py-3 bg-purple-600 text-white font-semibold rounded-lg hover:bg-purple-700 transition duration-300 pulse" | |
| > | |
| <i class="fas fa-search mr-2"></i> Analyze | |
| </button> | |
| </div> | |
| <p class="text-sm text-gray-500 mt-3">We support YouTube videos only. No ads, no pop-ups.</p> | |
| </div> | |
| </section> | |
| <!-- Features Section --> | |
| <section class="mb-12"> | |
| <h3 class="text-2xl font-semibold text-center mb-8 text-gray-800">Why Choose Our Service?</h3> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-6"> | |
| <div class="bg-white p-6 rounded-lg shadow-md text-center"> | |
| <div class="text-purple-600 text-4xl mb-4"> | |
| <i class="fas fa-ad"></i> | |
| </div> | |
| <h4 class="font-bold text-lg mb-2">No Ads</h4> | |
| <p class="text-gray-600">Enjoy a clean experience without any annoying advertisements.</p> | |
| </div> | |
| <div class="bg-white p-6 rounded-lg shadow-md text-center"> | |
| <div class="text-purple-600 text-4xl mb-4"> | |
| <i class="fas fa-shield-alt"></i> | |
| </div> | |
| <h4 class="font-bold text-lg mb-2">Safe & Secure</h4> | |
| <p class="text-gray-600">Your privacy is our priority. We don't track or store your data.</p> | |
| </div> | |
| <div class="bg-white p-6 rounded-lg shadow-md text-center"> | |
| <div class="text-purple-600 text-4xl mb-4"> | |
| <i class="fas fa-bolt"></i> | |
| </div> | |
| <h4 class="font-bold text-lg mb-2">Fast Downloads</h4> | |
| <p class="text-gray-600">High-speed servers ensure your downloads complete quickly.</p> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Results Section (Hidden by default) --> | |
| <section id="resultsSection" class="hidden max-w-4xl mx-auto bg-white rounded-lg shadow-xl p-6 mb-12"> | |
| <div class="flex items-center mb-6"> | |
| <div class="w-16 h-16 bg-gray-200 rounded-lg mr-4 overflow-hidden"> | |
| <img id="videoThumbnail" src="" alt="Video thumbnail" class="w-full h-full object-cover"> | |
| </div> | |
| <div> | |
| <h3 id="videoTitle" class="font-bold text-lg"></h3> | |
| <p id="videoDuration" class="text-gray-600 text-sm"></p> | |
| </div> | |
| </div> | |
| <div class="mb-6"> | |
| <h4 class="font-semibold mb-3 text-gray-700">Download Options</h4> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-4" id="downloadOptions"> | |
| <!-- Options will be added here by JavaScript --> | |
| </div> | |
| </div> | |
| <div> | |
| <h4 class="font-semibold mb-3 text-gray-700">Audio Only</h4> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-4" id="audioOptions"> | |
| <!-- Audio options will be added here by JavaScript --> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- How to Use Section --> | |
| <section class="bg-white rounded-lg shadow-xl p-6 mb-12"> | |
| <h3 class="text-2xl font-semibold mb-6 text-center text-gray-800">How to Download Videos</h3> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-6"> | |
| <div class="flex flex-col items-center text-center"> | |
| <div class="bg-purple-100 w-16 h-16 rounded-full flex items-center justify-center mb-4"> | |
| <span class="text-purple-600 text-2xl font-bold">1</span> | |
| </div> | |
| <h4 class="font-bold mb-2">Copy Video URL</h4> | |
| <p class="text-gray-600">Copy the link from YouTube's address bar or share button</p> | |
| </div> | |
| <div class="flex flex-col items-center text-center"> | |
| <div class="bg-purple-100 w-16 h-16 rounded-full flex items-center justify-center mb-4"> | |
| <span class="text-purple-600 text-2xl font-bold">2</span> | |
| </div> | |
| <h4 class="font-bold mb-2">Paste URL Here</h4> | |
| <p class="text-gray-600">Paste the URL in the input field above and click "Analyze"</p> | |
| </div> | |
| <div class="flex flex-col items-center text-center"> | |
| <div class="bg-purple-100 w-16 h-16 rounded-full flex items-center justify-center mb-4"> | |
| <span class="text-purple-600 text-2xl font-bold">3</span> | |
| </div> | |
| <h4 class="font-bold mb-2">Download</h4> | |
| <p class="text-gray-600">Choose your preferred format and quality, then download</p> | |
| </div> | |
| </div> | |
| </section> | |
| </main> | |
| <!-- Footer --> | |
| <footer class="bg-gray-800 text-white py-8"> | |
| <div class="container mx-auto px-4"> | |
| <div class="flex flex-col md:flex-row justify-between items-center"> | |
| <div class="mb-6 md:mb-0"> | |
| <div class="flex items-center space-x-2"> | |
| <i class="fas fa-download text-xl"></i> | |
| <span class="text-xl font-bold">CleanVideoDL</span> | |
| </div> | |
| <p class="text-gray-400 mt-2">The cleanest video downloader online</p> | |
| </div> | |
| <div class="flex space-x-6"> | |
| <a href="#" class="hover:text-purple-400"><i class="fab fa-twitter text-xl"></i></a> | |
| <a href="#" class="hover:text-purple-400"><i class="fab fa-github text-xl"></i></a> | |
| <a href="#" class="hover:text-purple-400"><i class="fab fa-discord text-xl"></i></a> | |
| </div> | |
| </div> | |
| <div class="border-t border-gray-700 mt-8 pt-8 text-center text-gray-400"> | |
| <p>© 2023 CleanVideoDL. This is a demo service. We respect copyright laws.</p> | |
| <div class="mt-4 space-x-4"> | |
| <a href="#" class="hover:text-white">Terms of Service</a> | |
| <a href="#" class="hover:text-white">Privacy Policy</a> | |
| <a href="#" class="hover:text-white">DMCA</a> | |
| </div> | |
| </div> | |
| </div> | |
| </footer> | |
| <script> | |
| document.getElementById('downloadBtn').addEventListener('click', function() { | |
| const videoUrl = document.getElementById('videoUrl').value.trim(); | |
| if (!videoUrl) { | |
| alert('Please enter a YouTube URL'); | |
| return; | |
| } | |
| // Simulate analyzing the video | |
| this.innerHTML = '<i class="fas fa-spinner fa-spin mr-2"></i> Analyzing...'; | |
| this.classList.remove('pulse'); | |
| setTimeout(() => { | |
| // Show results section | |
| document.getElementById('resultsSection').classList.remove('hidden'); | |
| // Reset button | |
| this.innerHTML = '<i class="fas fa-search mr-2"></i> Analyze'; | |
| this.classList.add('pulse'); | |
| // Mock data for demo purposes | |
| document.getElementById('videoThumbnail').src = 'https://i.ytimg.com/vi/dQw4w9WgXcQ/hqdefault.jpg'; | |
| document.getElementById('videoTitle').textContent = 'Example Video Title'; | |
| document.getElementById('videoDuration').textContent = 'Duration: 3:45'; | |
| // Add download options | |
| const downloadOptions = document.getElementById('downloadOptions'); | |
| downloadOptions.innerHTML = ''; | |
| const qualities = [ | |
| { format: 'MP4', quality: '1080p', size: '45MB' }, | |
| { format: 'MP4', quality: '720p', size: '30MB' }, | |
| { format: 'MP4', quality: '480p', size: '18MB' }, | |
| { format: 'MP4', quality: '360p', size: '12MB' } | |
| ]; | |
| qualities.forEach(option => { | |
| const optionElement = document.createElement('div'); | |
| optionElement.className = 'download-option bg-gray-50 p-4 rounded-lg border border-gray-200 transition duration-300'; | |
| optionElement.innerHTML = ` | |
| <div class="flex justify-between items-center mb-2"> | |
| <span class="font-semibold">${option.format} ${option.quality}</span> | |
| <span class="text-sm text-gray-500">${option.size}</span> | |
| </div> | |
| <button class="w-full py-2 bg-purple-600 text-white rounded hover:bg-purple-700 transition duration-300"> | |
| <i class="fas fa-download mr-2"></i> Download | |
| </button> | |
| `; | |
| downloadOptions.appendChild(optionElement); | |
| }); | |
| // Add audio options | |
| const audioOptions = document.getElementById('audioOptions'); | |
| audioOptions.innerHTML = ''; | |
| const audioFormats = [ | |
| { format: 'MP3', quality: 'High', size: '5MB' }, | |
| { format: 'MP3', quality: 'Medium', size: '3MB' }, | |
| { format: 'M4A', quality: 'High', size: '4MB' }, | |
| { format: 'OGG', quality: 'Medium', size: '3MB' } | |
| ]; | |
| audioFormats.forEach(option => { | |
| const optionElement = document.createElement('div'); | |
| optionElement.className = 'download-option bg-gray-50 p-4 rounded-lg border border-gray-200 transition duration-300'; | |
| optionElement.innerHTML = ` | |
| <div class="flex justify-between items-center mb-2"> | |
| <span class="font-semibold">${option.format} (${option.quality})</span> | |
| <span class="text-sm text-gray-500">${option.size}</span> | |
| </div> | |
| <button class="w-full py-2 bg-purple-600 text-white rounded hover:bg-purple-700 transition duration-300"> | |
| <i class="fas fa-music mr-2"></i> Download | |
| </button> | |
| `; | |
| audioOptions.appendChild(optionElement); | |
| }); | |
| // Scroll to results | |
| document.getElementById('resultsSection').scrollIntoView({ behavior: 'smooth' }); | |
| }, 1500); | |
| }); | |
| </script> | |
| <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=AutoPost/cleanvideodl" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |