mirror of
https://github.com/xdtianyu/scripts.git
synced 2025-08-08 20:41:15 +08:00
Update youtube.php
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
echo json_encode($urls, JSON_UNESCAPED_SLASHES);
|
||||
#shell_exec("echo '".json_encode($urls)."' >>/tmp/out.txt 2>&1 &");
|
||||
foreach ($urls as $url) {
|
||||
shell_exec("cd /home/downloads;./youtube ".escapeshellarg($url)." >>/tmp/youtube.txt 2>&1 &");
|
||||
shell_exec("./youtube.sh ".escapeshellarg($url)." >>/tmp/youtube.txt 2>&1 &");
|
||||
}
|
||||
exit;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user