-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
108 lines (85 loc) · 3.29 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Video Downloader</title>
<link href="css/bootstrap.min.css" rel="stylesheet" >
</head>
<body>
<div class="container">
<!-- <h2 >Video downloader</h2> -->
<legend>Video Link</legend>
<form action="#">
<div >
<input type="text" id="urlInput" class="form-control" placeholder="https://youtu.be/9UJzVLXmBG4">
<small id="fileHelp" class="form-text text-muted">Add link to a video you want to download</small>
</div>
</form>
<br>
<div class="checkbox">
<label for="checkbox-1">
<input id="videoCheckbox" type="checkbox" checked>
Download associated video
</label>
</div>
<legend>Captions</legend>
<div class="checkbox">
<label for="checkbox-1">
<input id="captionsCheckbox" type="checkbox" checked>
Download associated captions <code>vtt</code>
</label>
</div>
<small id="fileHelp" class="form-text text-muted">Download assoicate subtitles/captionfiles</small>
<div class="form-check">
<label class="form-check-label">
<input type="radio" class="form-check-input" name="optionsRadios" id="optionsRadiosAutomatedCaptions" value="option1" checked="">
Download associated <strong>automated</strong> captions
</label>
</div>
<div class="form-check">
<label class="form-check-label">
<input type="radio" class="form-check-input" name="optionsRadios" id="optionsRadiosHumanCaptions" value="option2">
Download associated <strong>human</strong> captions
</label>
</div>
<div class="form-group">
<label for="exampleSelect2">Languages </label>
<select multiple="" class="form-control" id="languageSelection">
<option value="en" selected>English</option>
<option value="it">Italian</option>
<option value="fr">French</option>
</select>
<small id="fileHelp" class="form-text text-muted">Press command key to select multiple languages.</small>
<br>
<small id="fileHelp" class="form-text text-muted">If the language you are looking for is not in the list, click </small>
<button id="extraLanguagesBtn" class="btn btn-default btn-xs">Load Extra Languages</button>
</div>
<div class="checkbox">
<label for="checkbox-1">
<input id="captionsToPlainTextCheckbox" type="checkbox" checked>
Convert captions to plain text
</label>
</div>
<small id="fileHelp" class="form-text text-muted">Get a plain text file of the subtitles/captions without timecodes</small>
<br>
<div class="form-group">
<button id="setDownloadDestBtn" class="btn btn-primary">Set download folder destination</button>
<div id="downloadFolderDest" ></div>
</div>
<div class="form-group">
<button id="btnLoad" class="btn btn-primary">Download</button>
</div>
<div id="downloadProgressBar"></div>
<div id="status" ></div>
<div id="captionsStatus" ></div>
<div id="infoPanel"></div>
<!-- <h3>List of supported websites</h3> -->
<div id="listOfExtractors"></div>
</div>
</body>
<script>
// You can also require other files to run in this process
require('./renderer.js');
</script>
</html>