2023-04-14 11:58:32 -04:00
|
|
|
<h1 class="text-center">YTDL Web</h1>
|
|
|
|
<p class="text-center mb-5">
|
2023-04-14 22:42:44 -04:00
|
|
|
Download videos from over a thousand websites with the help of
|
|
|
|
<a href="https://github.com/yt-dlp/yt-dlp">yt-dlp</a>,
|
|
|
|
a fork of youtube-dl with more features and fixes.
|
|
|
|
<br />
|
|
|
|
View a complete list of supported websites
|
|
|
|
<a href="https://github.com/yt-dlp/yt-dlp/blob/master/supportedsites.md">here</a>.
|
2023-04-14 11:58:32 -04:00
|
|
|
</p>
|
|
|
|
|
2023-04-14 17:14:27 -04:00
|
|
|
<form action="{{.BasePath}}/download" method="get">
|
2023-04-14 11:58:32 -04:00
|
|
|
<div class="mb-3">
|
|
|
|
<label for="url" class="form-label visually-hidden">Url</label>
|
|
|
|
<div class="input-group">
|
2023-04-14 22:51:48 -04:00
|
|
|
<input type="url" name="url" id="url" class="form-control" required
|
|
|
|
placeholder="Enter url here then click download" />
|
2023-04-14 22:01:36 -04:00
|
|
|
<button id="paste-button" class="btn btn-outline-secondary" type="button" title="Paste">
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"
|
|
|
|
style="width: 1.5rem; height: 1.5rem">
|
|
|
|
<path stroke-linecap="round" stroke-linejoin="round"
|
|
|
|
d="M15.666 3.888A2.25 2.25 0 0013.5 2.25h-3c-1.03 0-1.9.693-2.166 1.638m7.332 0c.055.194.084.4.084.612v0a.75.75 0 01-.75.75H9a.75.75 0 01-.75-.75v0c0-.212.03-.418.084-.612m7.332 0c.646.049 1.288.11 1.927.184 1.1.128 1.907 1.077 1.907 2.185V19.5a2.25 2.25 0 01-2.25 2.25H6.75A2.25 2.25 0 014.5 19.5V6.257c0-1.108.806-2.057 1.907-2.185a48.208 48.208 0 011.927-.184" />
|
2023-04-14 11:58:32 -04:00
|
|
|
</svg>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="d-grid">
|
|
|
|
<button type="submit" class="btn btn-primary">Download</button>
|
|
|
|
</div>
|
2023-04-14 21:55:00 -04:00
|
|
|
{{if .Flash}}
|
|
|
|
<div class="alert alert-danger mt-4" role="" alert>{{.Flash.message}}</div>
|
|
|
|
{{end}}
|
2023-04-14 22:01:36 -04:00
|
|
|
</form>
|