Ajout d'une procédure pour télécharger un album ou une playlist, modification des champs url, ajout de la suppression du contenu du dossier downloads en début de script

This commit is contained in:
2022-12-30 00:13:58 +01:00
parent b0225778a1
commit b764f652c0
5 changed files with 46 additions and 63 deletions

View File

@@ -5,34 +5,37 @@
</head>
<h1>SpotDL Web</h1>
<div class="url">
<div><a href="https://open.spotify.com/" style="color:white;" target="_blank">Aller sur Spotify</a></div>
<div> - Chercher un album ou une playlist</div>
<div> - Copier le ou les lien(s) url ci-dessous</div>
<div class="url" style="padding-top: 10px;">
<form method="POST">
<!-- <label for="url">URL:</label>
<input type="text" name="url" id="url"> -->
<div style="margin-top: 10px;">
<label for="url1">URL 1:</label>
<input type="text" name="url1" id="url1">
<!-- <label for="url1">URL 1:</label> -->
<input type="text" name="url1" id="url1" placeholder="URL">
</div>
<div style="margin-top: 10px;">
<label for="url2">URL 2:</label>
<input type="text" name="url2" id="url2">
<!-- <label for="url2">URL 2:</label> -->
<input type="text" name="url2" id="url2" placeholder="URL">
</div>
<div style="margin-top: 10px;">
<label for="url3">URL 3:</label>
<input type="text" name="url3" id="url3">
<!-- <label for="url3">URL 3:</label> -->
<input type="text" name="url3" id="url3" placeholder="URL">
</div>
<div style="margin-top: 10px;">
<label for="url4">URL 4:</label>
<input type="text" name="url4" id="url4">
<!-- <label for="url4">URL 4:</label> -->
<input type="text" name="url4" id="url4" placeholder="URL">
</div>
<div style="margin-top: 10px;">
<label for="url5">URL 5:</label>
<input type="text" name="url5" id="url5">
<!-- <label for="url5">URL 5:</label> -->
<input type="text" name="url5" id="url5" placeholder="URL">
</div>
<div style="margin-top: 10px;">