-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathindex.html
130 lines (107 loc) · 3.47 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta name="description" content="Download youtube videos & audio in high quality, free and no ads !">
<meta name="author" content="Shailendra Maurya">
<meta name="theme-color" content="white">
<meta name="mobile-web-app-capable" content="yes">
<meta name="keywords" content="youtube, utube, youtube video, youtube downloader, youtube video download, racoon">
<link rel="manifest" href="racoon.webmanifest">
<title>Racoon</title>
<link rel="icon" type="image/png" href="logo.png">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@picocss/pico/css/pico.classless.min.css">
<link rel="stylesheet" href="https://css.gg/css?=website|loadbar-alt|check|info">
<link rel="stylesheet" href="racoon.css">
<script defer src="js/index.js"></script>
<script defer src="js/modal.js"></script>
</head>
<body>
<header align="center">
<h1><img src="logo.png" class="logo">Racoon</h1>
</header>
<main class="container">
<form>
<label for="vQuality">Select Video Quality</label>
<select id="vQuality">
<option value="144">144p</option>
<option value="240">240p</option>
<option value="360">360p</option>
<option value="480">480p</option>
<option value="720" selected>720p</option>
<option value="1080">1080p</option>
<option value="1440">1440p</option>
<option value="2160">2160p</option>
</select>
<label for="aFormat">Select Audio Quality</label>
<select id="aFormat">
<option value="best">Best</option>
<option value="mp3">MP3</option>
<option value="ogg">OGG</option>
<option value="wav">WAV</option>
<option value="opus">Opus</option>
</select>
<input type="checkbox" id="isAudioOnly">
<label for="isAudioOnly"> Audio Only</label>
<br><br>
<input type="url" id="url" placeholder="Input URL here" required>
<button type="submit" class="submitBtn">Download</button>
</form>
<div id="status">
</div>
</main>
<footer align="center">
<a class="contrast" data-target="about" onClick="toggleModal(event)">
About
</a>
<a class="contrast" data-target="supported-sites" onClick="toggleModal(event)">
Supported Sites
</a>
<dialog id="about">
<article>
<header>About</header>
<img width="50%" src="logo.png" class="logo" />
<br><br>
Racoon is a lightweight media downloader written in HTML, CSS and JS with PicoCSS library.
<footer>Licensed under MIT, open-sourced at <a href="https://github.com/shailendramaurya/racoon">Github</a>.</footer>
</article>
</dialog>
</footer>
<dialog id="supported-sites">
<article>
<header>Supported Sites</header>
<pre>
<br>
• youtube videos, shorts & music
• instagram reels & posts
• tiktok videos, photos & audio
• vimeo
• pinterest videos & stories
• reddit videos & gifs
• bilibili.com videos
• rutube videos
• soundcloud
• streamable.com
• tumblr
• twitch clips
• twitter videos & voice
• vine archive
• vk video & clips
Racoon is not affiliated with<br>any services listed above.
</pre>
</article>
</dialog>
<script>
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('/sw.js')
.then((registration) => {
console.log('Service Worker registered with scope:', registration.scope);
})
.catch((error) => {
console.error('Service Worker registration failed:', error);
});
}
</script>
</body>
</html>