Univerter/static/index.html
2023-10-23 23:31:23 -05:00

59 lines
2.4 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/style.css">
<title>Youtube Downloader</title>
</head>
<body>
<h1>Youtube Downloader <p>v2.0</p>
<hr>
</h1>
<form action="/getLink" method="get" target="_blank">
<p style="margin-bottom: 1px;">Video URL:</p>
<input required id="url" placeholder="Enter url" name="url">
<p>Quality:</p>
<select required id="quality" name="quality">
<option value="highest">Highest</option>
<option value="lowest">Lowest</option>
</select>
<p>Filename:</p>
<input required id="filename" placeholder="Enter filename" name="filename"><br>
<p>Format:</p>
<select required id="format" name="format">
<option disabled>Video Options</option>
<option value="mp4">.mp4</option>
<option value="webm">.webm</option>
<option value="flv">.flv</option>
<option value="avi">.avi</option>
<option value="mpeg">.mpeg</option>
<option value="mov">.mov</option>
<option disabled>Audio Options</option>
<option value="mp3">.mp3</option>
<option value="ogg">.ogg</option>
<option value="wav">.wav</option>
</select>
<p>Redirect:</p>
<select required id="redirect" name="redirect">
<option value="false">Don't redirect</option>
<option value="redirectjs">Redirect (JS) *1</option>
<option value="redirect">Redirect (disable progress) *2</option>
</select>
<br>
<input type="submit" placeholder="test">
</form>
<hr>
<p>*1: The "Redirect JS" Option is the same as the "Don't redirect" option, except it sends javascript to the browser letting you redirect. BOTH OPTIONS WORK FINE WITHOUT JAVASCRIPT!</p>
<p>*2: The "Redirect (disable progress)" option doesn't use any javascript and automatically redirects to the download, but you are not given download progress updates!</p>
<hr>
<p><a href="https://ko-fi.com/bingus_violet">Please consider donating</a> or host the website yourself! Anything helps! (Check <a href="https://github.com/Violets-puragtory/NoJS-YTConverter">github</a> for more info)</p><br>
</body>
</html>