Celian-Arbona commited on
Commit
07145bb
·
1 Parent(s): 3c37b96

changement des messages pour que ce ne soit pas que youtube

Browse files
Files changed (2) hide show
  1. jericho/main.py +1 -1
  2. jericho/static/index.html +2 -2
jericho/main.py CHANGED
@@ -588,7 +588,7 @@ class Jericho(ReachyMiniApp): # appli principale serveur app backend
588
  try:
589
  with open(status_file, "w") as f:
590
  f.write("DOWNLOADING")
591
- print(f"[{proj_name}] Téléchargement YouTube : {url}")
592
 
593
  cmd = [ # params yt-dlp pr dl format mp4 direct
594
  "yt-dlp",
 
588
  try:
589
  with open(status_file, "w") as f:
590
  f.write("DOWNLOADING")
591
+ print(f"[{proj_name}] Téléchargement vidéo : {url}")
592
 
593
  cmd = [ # params yt-dlp pr dl format mp4 direct
594
  "yt-dlp",
jericho/static/index.html CHANGED
@@ -45,7 +45,7 @@
45
  </section>
46
 
47
  <section class="card">
48
- <h2>[▶] Importer depuis YouTube</h2>
49
  <div class="form-group">
50
  <label>Nom du projet :</label>
51
  <input
@@ -59,7 +59,7 @@
59
  <input
60
  type="text"
61
  id="yt-url"
62
- placeholder="https://www.youtube.com/watch?v=..."
63
  />
64
  </div>
65
  <button id="yt-import-btn" class="btn-primary">
 
45
  </section>
46
 
47
  <section class="card">
48
+ <h2>[▶] Importer depuis un lien</h2>
49
  <div class="form-group">
50
  <label>Nom du projet :</label>
51
  <input
 
59
  <input
60
  type="text"
61
  id="yt-url"
62
+ placeholder="https://www.youtube.com/..., tiktok.com/..., instagram.com/..."
63
  />
64
  </div>
65
  <button id="yt-import-btn" class="btn-primary">