2023-09-11 01:46:14 +02:00
|
|
|
<!doctype html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
2023-09-13 10:18:54 +02:00
|
|
|
<meta name="robots" content="follow, index, max-snippet:-1, max-video-preview:-1, max-image-preview:large"/>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<meta name="description" content="Download or playback videos and music in full quality">
|
|
|
|
<meta name="keywords" content="Download, Youtube, yt-dlp, MP3, Convert">
|
2023-09-13 11:02:45 +02:00
|
|
|
<link rel="stylesheet" href="/static/static/css/pico.min.css">
|
2023-09-11 01:46:14 +02:00
|
|
|
<script src="https://unpkg.com/htmx.org@1.9.5"></script>
|
2023-09-13 10:37:28 +02:00
|
|
|
<title>Viddle your fiddle</title>
|
2023-09-11 01:46:14 +02:00
|
|
|
</head>
|
|
|
|
<main class="container">
|
2023-09-13 11:02:45 +02:00
|
|
|
<h1>Viddle your fiddle</h1>
|
2023-09-11 01:46:14 +02:00
|
|
|
<form hx-post="/download" hx-target="#get-btn" hx-swap="outerHTML" hx-indicator="#progress">
|
|
|
|
<label for="URL">Link</label>
|
|
|
|
<div class="grid">
|
|
|
|
<input type="url" id="URL" name="URL" placeholder="Video Link" required>
|
|
|
|
<!-- Select -->
|
|
|
|
<select required>
|
|
|
|
<option value="" disabled selected>Format</option>
|
2023-09-11 20:44:41 +02:00
|
|
|
{{ range .Formats }} <option>{{ .VideoRes }}</option>{{ end }}
|
2023-09-11 01:46:14 +02:00
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<button id="get-btn">Get
|
|
|
|
<!-- <a class="htmx-indicator" href="#" aria-busy="true"></a> -->
|
|
|
|
</button>
|
|
|
|
</form>
|
|
|
|
<progress class="htmx-indicator" id="progress"></progress>
|
2023-09-12 00:25:24 +02:00
|
|
|
<script data-cfasync="false" type="text/javascript" data-adel="atag" src="//acscdn.com/script/atg.js" czid="tfsym8rbfg"></script>
|
2023-09-11 01:46:14 +02:00
|
|
|
</main>
|
|
|
|
</html>
|