From b618dfe7c361fbb50e3a12b4da52e0fdc9854fbc Mon Sep 17 00:00:00 2001 From: Kayn Ty Date: Sat, 27 Mar 2021 09:13:03 +0100 Subject: [PATCH] modify scripts to make it run on prod --- info.php | 4 ++++ website/download.php | 4 ++-- website/youtube-dl.sh | 3 ++- 3 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 info.php diff --git a/info.php b/info.php new file mode 100644 index 0000000..e0cacaa --- /dev/null +++ b/info.php @@ -0,0 +1,4 @@ + résultat du script.
"; diff --git a/website/youtube-dl.sh b/website/youtube-dl.sh index 7bc306b..f9ffa54 100755 --- a/website/youtube-dl.sh +++ b/website/youtube-dl.sh @@ -1,10 +1,11 @@ #!/bin/bash +UNIQID=$1 + mkdir -p ../input/ydl rm -rf ../input/ydl/$UNIQID.mp3 rm -rf ../input/ydl/$UNIQID -UNIQID=$1 URL=$2 OUTPUT="../input/ydl/$UNIQID.mp3"