viddl/views/index.html
2021-06-24 11:24:33 +02:00

42 lines
1.3 KiB
HTML

<!DOCTYPE html>
<head>
<meta cherset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>viddl</title>
</head>
<body>
<center>
<h1>viddl</h1>
<p>Download videos from sources such as youtube, vimeo, video, <a href="https://github.com/ytdl-org/youtube-dl/blob/master/docs/supportedsites.md">and more!</a></p>
<table>
<tr>
<td valign="top">
<h2>Video download</h2>
<form method="post" action="/">
<input required name="url" type="text" placeholder="Enter url here"><br>
<label for="resolution">res</label>
<select required name="resolution">
<option value="max">Smallest Possible</option>
<option value="144p">144p</option>
<option value="240p">240p</option>
<option value="360p">360p</option>
<option value="480p">480p</option>
<option selected value="720p">720p</option>
<option value="1080p">1080p</option>
<option value="max">Largest Possible</option>
</select><br>
<input type="submit" value="Download">
</form>
</td>
<td valign="top">
<h2>Audio only download</h2>
<form method="post" action="/">
<input required name="url" type="text" placeholder="Enter url here"><br>
<input type="submit" value="Download">
</form>
</td>
</tr>
</table>
</center>
</body>