Spaces:
Running
Running
File size: 14,519 Bytes
2da77c4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 | <!DOCTYPE html>
<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> |