curl instead of wget

This commit is contained in:
Pierre Rudloff 2015-05-16 03:34:13 +02:00
parent f4495794fe
commit df2cb7c079
1 changed files with 2 additions and 2 deletions

View File

@ -55,8 +55,8 @@ if (isset($_GET["url"])) {
);
header("Content-Type: audio/mpeg");
passthru(
'/usr/bin/wget -q --user-agent='.escapeshellarg($UA).
' -O - '.escapeshellarg($video->url).
'curl --user-agent '.escapeshellarg($UA).
' '.escapeshellarg($video->url).
' | '.AVCONV.' -v quiet -i - -f mp3 -vn pipe:1'
);
exit;