Spaces:
Sleeping
Sleeping
Create index.html
Browse files- index.html +44 -0
index.html
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="id">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>YouTube Downloader 4K</title>
|
| 7 |
+
<style>
|
| 8 |
+
body { background: #0f172a; color: white; font-family: sans-serif; display: flex; justify-content: center; align-items: center; min-height: 100vh; margin: 0; }
|
| 9 |
+
.container { background: #1e293b; padding: 2rem; border-radius: 12px; width: 100%; max-width: 400px; box-shadow: 0 4px 6px rgba(0,0,0,0.3); }
|
| 10 |
+
h1 { text-align: center; color: #38bdf8; margin-bottom: 1.5rem; }
|
| 11 |
+
input, select, button { width: 100%; padding: 12px; margin-bottom: 1rem; border-radius: 6px; border: none; box-sizing: border-box; }
|
| 12 |
+
input, select { background: #334155; color: white; }
|
| 13 |
+
button { background: #38bdf8; color: #0f172a; font-weight: bold; cursor: pointer; transition: 0.3s; }
|
| 14 |
+
button:hover { background: #0ea5e9; }
|
| 15 |
+
.note { font-size: 0.8rem; color: #94a3b8; text-align: center; }
|
| 16 |
+
</style>
|
| 17 |
+
</head>
|
| 18 |
+
<body>
|
| 19 |
+
<div class="container">
|
| 20 |
+
<h1>🚀 YT Downloader</h1>
|
| 21 |
+
<form action="/download" method="post">
|
| 22 |
+
<input type="text" name="url" placeholder="Tempel URL YouTube di sini..." required>
|
| 23 |
+
|
| 24 |
+
<label>Pilih Kualitas:</label>
|
| 25 |
+
<select name="quality">
|
| 26 |
+
<option value="2160">4K (2160p)</option>
|
| 27 |
+
<option value="1440">2K (1440p)</option>
|
| 28 |
+
<option value="1080" selected>Full HD (1080p)</option>
|
| 29 |
+
<option value="720">HD (720p)</option>
|
| 30 |
+
<option value="480">480p</option>
|
| 31 |
+
</select>
|
| 32 |
+
|
| 33 |
+
<label>Format:</label>
|
| 34 |
+
<select name="format">
|
| 35 |
+
<option value="mp4">Video (MP4)</option>
|
| 36 |
+
<option value="mp3">Audio Saja (MP3)</option>
|
| 37 |
+
</select>
|
| 38 |
+
|
| 39 |
+
<button type="submit" onclick="this.innerHTML='Sedang memproses... (Mohon tunggu)'">Download</button>
|
| 40 |
+
</form>
|
| 41 |
+
<p class="note">Proses 4K mungkin memakan waktu 1-2 menit untuk penggabungan data.</p>
|
| 42 |
+
</div>
|
| 43 |
+
</body>
|
| 44 |
+
</html>
|