Skip to content

Commit

Permalink
with a space
Browse files Browse the repository at this point in the history
  • Loading branch information
Kathie Dart committed Oct 13, 2016
1 parent aad6a55 commit 89c2844
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/Chaplin/Service/YouTube/API.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,15 +104,15 @@ public function getDownloadURL($strURL)
{
$strCommandLine = APPLICATION_PATH.
self::LOCATION.
'-4 --prefer-free-formats -g -- '.
' -4 --prefer-free-formats -g -- '.
escapeshellarg($strURL);
return system($strCommandLine);
}

public function downloadVideo($strURL, $strPathToSave, &$ret)
{
$strCommandLine = APPLICATION_PATH.self::LOCATION.
"-4 --format=webm -o ".
" -4 --format=webm -o ".
escapeshellarg($strPathToSave."/%(id)s.%(ext)s").
" -- ".escapeshellarg($strURL).
' 2>&1';
Expand Down

0 comments on commit 89c2844

Please sign in to comment.