Spaces:
Running
Running
Add 3 files
Browse files- README.md +6 -4
- index.html +278 -19
- prompts.txt +0 -0
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
colorFrom: purple
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: cleanvideodl
|
| 3 |
+
emoji: 🐳
|
| 4 |
colorFrom: purple
|
| 5 |
+
colorTo: blue
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
|
@@ -1,19 +1,278 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Clean Video Downloader</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 9 |
+
<style>
|
| 10 |
+
.gradient-bg {
|
| 11 |
+
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
| 12 |
+
}
|
| 13 |
+
.download-option:hover {
|
| 14 |
+
transform: translateY(-5px);
|
| 15 |
+
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
|
| 16 |
+
}
|
| 17 |
+
.pulse {
|
| 18 |
+
animation: pulse 2s infinite;
|
| 19 |
+
}
|
| 20 |
+
@keyframes pulse {
|
| 21 |
+
0% {
|
| 22 |
+
transform: scale(1);
|
| 23 |
+
}
|
| 24 |
+
50% {
|
| 25 |
+
transform: scale(1.05);
|
| 26 |
+
}
|
| 27 |
+
100% {
|
| 28 |
+
transform: scale(1);
|
| 29 |
+
}
|
| 30 |
+
}
|
| 31 |
+
</style>
|
| 32 |
+
</head>
|
| 33 |
+
<body class="bg-gray-100 min-h-screen">
|
| 34 |
+
<!-- Header -->
|
| 35 |
+
<header class="gradient-bg text-white shadow-lg">
|
| 36 |
+
<div class="container mx-auto px-4 py-6">
|
| 37 |
+
<div class="flex justify-between items-center">
|
| 38 |
+
<div class="flex items-center space-x-2">
|
| 39 |
+
<i class="fas fa-download text-2xl"></i>
|
| 40 |
+
<h1 class="text-2xl font-bold">CleanVideoDL</h1>
|
| 41 |
+
</div>
|
| 42 |
+
<nav class="hidden md:flex space-x-6">
|
| 43 |
+
<a href="#" class="hover:text-gray-200">Home</a>
|
| 44 |
+
<a href="#" class="hover:text-gray-200">How to Use</a>
|
| 45 |
+
<a href="#" class="hover:text-gray-200">FAQ</a>
|
| 46 |
+
<a href="#" class="hover:text-gray-200">Contact</a>
|
| 47 |
+
</nav>
|
| 48 |
+
<button class="md:hidden text-xl">
|
| 49 |
+
<i class="fas fa-bars"></i>
|
| 50 |
+
</button>
|
| 51 |
+
</div>
|
| 52 |
+
</div>
|
| 53 |
+
</header>
|
| 54 |
+
|
| 55 |
+
<!-- Main Content -->
|
| 56 |
+
<main class="container mx-auto px-4 py-8">
|
| 57 |
+
<!-- Hero Section -->
|
| 58 |
+
<section class="text-center mb-12">
|
| 59 |
+
<h2 class="text-4xl font-bold mb-4 text-gray-800">Download Videos Easily</h2>
|
| 60 |
+
<p class="text-xl text-gray-600 mb-8">Paste your YouTube link below to download in multiple formats</p>
|
| 61 |
+
|
| 62 |
+
<!-- URL Input -->
|
| 63 |
+
<div class="max-w-3xl mx-auto bg-white rounded-lg shadow-xl p-6">
|
| 64 |
+
<div class="flex flex-col md:flex-row gap-4">
|
| 65 |
+
<input
|
| 66 |
+
type="text"
|
| 67 |
+
id="videoUrl"
|
| 68 |
+
placeholder="Paste YouTube URL here..."
|
| 69 |
+
class="flex-grow px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-purple-500"
|
| 70 |
+
>
|
| 71 |
+
<button
|
| 72 |
+
id="downloadBtn"
|
| 73 |
+
class="px-6 py-3 bg-purple-600 text-white font-semibold rounded-lg hover:bg-purple-700 transition duration-300 pulse"
|
| 74 |
+
>
|
| 75 |
+
<i class="fas fa-search mr-2"></i> Analyze
|
| 76 |
+
</button>
|
| 77 |
+
</div>
|
| 78 |
+
<p class="text-sm text-gray-500 mt-3">We support YouTube videos only. No ads, no pop-ups.</p>
|
| 79 |
+
</div>
|
| 80 |
+
</section>
|
| 81 |
+
|
| 82 |
+
<!-- Features Section -->
|
| 83 |
+
<section class="mb-12">
|
| 84 |
+
<h3 class="text-2xl font-semibold text-center mb-8 text-gray-800">Why Choose Our Service?</h3>
|
| 85 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
|
| 86 |
+
<div class="bg-white p-6 rounded-lg shadow-md text-center">
|
| 87 |
+
<div class="text-purple-600 text-4xl mb-4">
|
| 88 |
+
<i class="fas fa-ad"></i>
|
| 89 |
+
</div>
|
| 90 |
+
<h4 class="font-bold text-lg mb-2">No Ads</h4>
|
| 91 |
+
<p class="text-gray-600">Enjoy a clean experience without any annoying advertisements.</p>
|
| 92 |
+
</div>
|
| 93 |
+
<div class="bg-white p-6 rounded-lg shadow-md text-center">
|
| 94 |
+
<div class="text-purple-600 text-4xl mb-4">
|
| 95 |
+
<i class="fas fa-shield-alt"></i>
|
| 96 |
+
</div>
|
| 97 |
+
<h4 class="font-bold text-lg mb-2">Safe & Secure</h4>
|
| 98 |
+
<p class="text-gray-600">Your privacy is our priority. We don't track or store your data.</p>
|
| 99 |
+
</div>
|
| 100 |
+
<div class="bg-white p-6 rounded-lg shadow-md text-center">
|
| 101 |
+
<div class="text-purple-600 text-4xl mb-4">
|
| 102 |
+
<i class="fas fa-bolt"></i>
|
| 103 |
+
</div>
|
| 104 |
+
<h4 class="font-bold text-lg mb-2">Fast Downloads</h4>
|
| 105 |
+
<p class="text-gray-600">High-speed servers ensure your downloads complete quickly.</p>
|
| 106 |
+
</div>
|
| 107 |
+
</div>
|
| 108 |
+
</section>
|
| 109 |
+
|
| 110 |
+
<!-- Results Section (Hidden by default) -->
|
| 111 |
+
<section id="resultsSection" class="hidden max-w-4xl mx-auto bg-white rounded-lg shadow-xl p-6 mb-12">
|
| 112 |
+
<div class="flex items-center mb-6">
|
| 113 |
+
<div class="w-16 h-16 bg-gray-200 rounded-lg mr-4 overflow-hidden">
|
| 114 |
+
<img id="videoThumbnail" src="" alt="Video thumbnail" class="w-full h-full object-cover">
|
| 115 |
+
</div>
|
| 116 |
+
<div>
|
| 117 |
+
<h3 id="videoTitle" class="font-bold text-lg"></h3>
|
| 118 |
+
<p id="videoDuration" class="text-gray-600 text-sm"></p>
|
| 119 |
+
</div>
|
| 120 |
+
</div>
|
| 121 |
+
|
| 122 |
+
<div class="mb-6">
|
| 123 |
+
<h4 class="font-semibold mb-3 text-gray-700">Download Options</h4>
|
| 124 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-4" id="downloadOptions">
|
| 125 |
+
<!-- Options will be added here by JavaScript -->
|
| 126 |
+
</div>
|
| 127 |
+
</div>
|
| 128 |
+
|
| 129 |
+
<div>
|
| 130 |
+
<h4 class="font-semibold mb-3 text-gray-700">Audio Only</h4>
|
| 131 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-4" id="audioOptions">
|
| 132 |
+
<!-- Audio options will be added here by JavaScript -->
|
| 133 |
+
</div>
|
| 134 |
+
</div>
|
| 135 |
+
</section>
|
| 136 |
+
|
| 137 |
+
<!-- How to Use Section -->
|
| 138 |
+
<section class="bg-white rounded-lg shadow-xl p-6 mb-12">
|
| 139 |
+
<h3 class="text-2xl font-semibold mb-6 text-center text-gray-800">How to Download Videos</h3>
|
| 140 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
|
| 141 |
+
<div class="flex flex-col items-center text-center">
|
| 142 |
+
<div class="bg-purple-100 w-16 h-16 rounded-full flex items-center justify-center mb-4">
|
| 143 |
+
<span class="text-purple-600 text-2xl font-bold">1</span>
|
| 144 |
+
</div>
|
| 145 |
+
<h4 class="font-bold mb-2">Copy Video URL</h4>
|
| 146 |
+
<p class="text-gray-600">Copy the link from YouTube's address bar or share button</p>
|
| 147 |
+
</div>
|
| 148 |
+
<div class="flex flex-col items-center text-center">
|
| 149 |
+
<div class="bg-purple-100 w-16 h-16 rounded-full flex items-center justify-center mb-4">
|
| 150 |
+
<span class="text-purple-600 text-2xl font-bold">2</span>
|
| 151 |
+
</div>
|
| 152 |
+
<h4 class="font-bold mb-2">Paste URL Here</h4>
|
| 153 |
+
<p class="text-gray-600">Paste the URL in the input field above and click "Analyze"</p>
|
| 154 |
+
</div>
|
| 155 |
+
<div class="flex flex-col items-center text-center">
|
| 156 |
+
<div class="bg-purple-100 w-16 h-16 rounded-full flex items-center justify-center mb-4">
|
| 157 |
+
<span class="text-purple-600 text-2xl font-bold">3</span>
|
| 158 |
+
</div>
|
| 159 |
+
<h4 class="font-bold mb-2">Download</h4>
|
| 160 |
+
<p class="text-gray-600">Choose your preferred format and quality, then download</p>
|
| 161 |
+
</div>
|
| 162 |
+
</div>
|
| 163 |
+
</section>
|
| 164 |
+
</main>
|
| 165 |
+
|
| 166 |
+
<!-- Footer -->
|
| 167 |
+
<footer class="bg-gray-800 text-white py-8">
|
| 168 |
+
<div class="container mx-auto px-4">
|
| 169 |
+
<div class="flex flex-col md:flex-row justify-between items-center">
|
| 170 |
+
<div class="mb-6 md:mb-0">
|
| 171 |
+
<div class="flex items-center space-x-2">
|
| 172 |
+
<i class="fas fa-download text-xl"></i>
|
| 173 |
+
<span class="text-xl font-bold">CleanVideoDL</span>
|
| 174 |
+
</div>
|
| 175 |
+
<p class="text-gray-400 mt-2">The cleanest video downloader online</p>
|
| 176 |
+
</div>
|
| 177 |
+
<div class="flex space-x-6">
|
| 178 |
+
<a href="#" class="hover:text-purple-400"><i class="fab fa-twitter text-xl"></i></a>
|
| 179 |
+
<a href="#" class="hover:text-purple-400"><i class="fab fa-github text-xl"></i></a>
|
| 180 |
+
<a href="#" class="hover:text-purple-400"><i class="fab fa-discord text-xl"></i></a>
|
| 181 |
+
</div>
|
| 182 |
+
</div>
|
| 183 |
+
<div class="border-t border-gray-700 mt-8 pt-8 text-center text-gray-400">
|
| 184 |
+
<p>© 2023 CleanVideoDL. This is a demo service. We respect copyright laws.</p>
|
| 185 |
+
<div class="mt-4 space-x-4">
|
| 186 |
+
<a href="#" class="hover:text-white">Terms of Service</a>
|
| 187 |
+
<a href="#" class="hover:text-white">Privacy Policy</a>
|
| 188 |
+
<a href="#" class="hover:text-white">DMCA</a>
|
| 189 |
+
</div>
|
| 190 |
+
</div>
|
| 191 |
+
</div>
|
| 192 |
+
</footer>
|
| 193 |
+
|
| 194 |
+
<script>
|
| 195 |
+
document.getElementById('downloadBtn').addEventListener('click', function() {
|
| 196 |
+
const videoUrl = document.getElementById('videoUrl').value.trim();
|
| 197 |
+
|
| 198 |
+
if (!videoUrl) {
|
| 199 |
+
alert('Please enter a YouTube URL');
|
| 200 |
+
return;
|
| 201 |
+
}
|
| 202 |
+
|
| 203 |
+
// Simulate analyzing the video
|
| 204 |
+
this.innerHTML = '<i class="fas fa-spinner fa-spin mr-2"></i> Analyzing...';
|
| 205 |
+
this.classList.remove('pulse');
|
| 206 |
+
|
| 207 |
+
setTimeout(() => {
|
| 208 |
+
// Show results section
|
| 209 |
+
document.getElementById('resultsSection').classList.remove('hidden');
|
| 210 |
+
|
| 211 |
+
// Reset button
|
| 212 |
+
this.innerHTML = '<i class="fas fa-search mr-2"></i> Analyze';
|
| 213 |
+
this.classList.add('pulse');
|
| 214 |
+
|
| 215 |
+
// Mock data for demo purposes
|
| 216 |
+
document.getElementById('videoThumbnail').src = 'https://i.ytimg.com/vi/dQw4w9WgXcQ/hqdefault.jpg';
|
| 217 |
+
document.getElementById('videoTitle').textContent = 'Example Video Title';
|
| 218 |
+
document.getElementById('videoDuration').textContent = 'Duration: 3:45';
|
| 219 |
+
|
| 220 |
+
// Add download options
|
| 221 |
+
const downloadOptions = document.getElementById('downloadOptions');
|
| 222 |
+
downloadOptions.innerHTML = '';
|
| 223 |
+
|
| 224 |
+
const qualities = [
|
| 225 |
+
{ format: 'MP4', quality: '1080p', size: '45MB' },
|
| 226 |
+
{ format: 'MP4', quality: '720p', size: '30MB' },
|
| 227 |
+
{ format: 'MP4', quality: '480p', size: '18MB' },
|
| 228 |
+
{ format: 'MP4', quality: '360p', size: '12MB' }
|
| 229 |
+
];
|
| 230 |
+
|
| 231 |
+
qualities.forEach(option => {
|
| 232 |
+
const optionElement = document.createElement('div');
|
| 233 |
+
optionElement.className = 'download-option bg-gray-50 p-4 rounded-lg border border-gray-200 transition duration-300';
|
| 234 |
+
optionElement.innerHTML = `
|
| 235 |
+
<div class="flex justify-between items-center mb-2">
|
| 236 |
+
<span class="font-semibold">${option.format} ${option.quality}</span>
|
| 237 |
+
<span class="text-sm text-gray-500">${option.size}</span>
|
| 238 |
+
</div>
|
| 239 |
+
<button class="w-full py-2 bg-purple-600 text-white rounded hover:bg-purple-700 transition duration-300">
|
| 240 |
+
<i class="fas fa-download mr-2"></i> Download
|
| 241 |
+
</button>
|
| 242 |
+
`;
|
| 243 |
+
downloadOptions.appendChild(optionElement);
|
| 244 |
+
});
|
| 245 |
+
|
| 246 |
+
// Add audio options
|
| 247 |
+
const audioOptions = document.getElementById('audioOptions');
|
| 248 |
+
audioOptions.innerHTML = '';
|
| 249 |
+
|
| 250 |
+
const audioFormats = [
|
| 251 |
+
{ format: 'MP3', quality: 'High', size: '5MB' },
|
| 252 |
+
{ format: 'MP3', quality: 'Medium', size: '3MB' },
|
| 253 |
+
{ format: 'M4A', quality: 'High', size: '4MB' },
|
| 254 |
+
{ format: 'OGG', quality: 'Medium', size: '3MB' }
|
| 255 |
+
];
|
| 256 |
+
|
| 257 |
+
audioFormats.forEach(option => {
|
| 258 |
+
const optionElement = document.createElement('div');
|
| 259 |
+
optionElement.className = 'download-option bg-gray-50 p-4 rounded-lg border border-gray-200 transition duration-300';
|
| 260 |
+
optionElement.innerHTML = `
|
| 261 |
+
<div class="flex justify-between items-center mb-2">
|
| 262 |
+
<span class="font-semibold">${option.format} (${option.quality})</span>
|
| 263 |
+
<span class="text-sm text-gray-500">${option.size}</span>
|
| 264 |
+
</div>
|
| 265 |
+
<button class="w-full py-2 bg-purple-600 text-white rounded hover:bg-purple-700 transition duration-300">
|
| 266 |
+
<i class="fas fa-music mr-2"></i> Download
|
| 267 |
+
</button>
|
| 268 |
+
`;
|
| 269 |
+
audioOptions.appendChild(optionElement);
|
| 270 |
+
});
|
| 271 |
+
|
| 272 |
+
// Scroll to results
|
| 273 |
+
document.getElementById('resultsSection').scrollIntoView({ behavior: 'smooth' });
|
| 274 |
+
}, 1500);
|
| 275 |
+
});
|
| 276 |
+
</script>
|
| 277 |
+
<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>
|
| 278 |
+
</html>
|
prompts.txt
ADDED
|
File without changes
|