state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
- Copyright (C) 2023 Jakub Czajka <jakub@ekhem.eu.org>
+ Copyright (C) 2023-2024 Jakub Czajka <jakub@ekhem.eu.org>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
- ydldp Copyright (C) 2023 Jakub Czajka <jakub@ekhem.eu.org>
+ ydldp Copyright (C) 2023-2024 Jakub Czajka <jakub@ekhem.eu.org>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
#!/bin/sh
-# Copyright (c) 2023 Jakub Czajka <jakub@ekhem.eu.org>
+# Copyright (c) 2023-2024 Jakub Czajka <jakub@ekhem.eu.org>
# License: GPL-3.0 or later.
YOUTUBE_URL_RE="(https:\/\/)?(www\.)?youtu(\.be|be\.com)\/watch\?v=([\w\-_]+)"
<input type='text' id='url' name='url' pattern='${YOUTUBE_URL_RE}' required />
</label>
- <label>
- Format:
- <input list='formats' id='format' name='format'>
- </label>
-
- <datalist id='formats'>
- <option value='video' />
- <option value='audio' />
- </datalist>
+ <select id='format' name='format'>
+ <option value=''>--Select format--</option>
+ <option value='video'>video</option>
+ <option value='audio'>audio</option>
+ </select>
<button type='submit'>Download</button>
</fieldset>