Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Neto committed Nov 29, 2024
1 parent 94a7044 commit ea6c39b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion objects/Encoder.php
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ public static function getThumbsFromLinkWithPytube($video_url, $returnFileName =
public static function downloadWithPytube($video_url, $filename, $action = 'video')
{
global $global;

$video_url = str_replace(array('\\', "'"), array('', ''), $video_url);
$pythonScript = $global['systemRootPath'] . "objects/youtube.py";
$command = escapeshellcmd("python3 $pythonScript " . escapeshellarg($video_url) . " " . escapeshellarg($filename)." {$action}");
_error_log("downloadWithPytube($video_url, $filename) " . $command);
Expand Down

0 comments on commit ea6c39b

Please sign in to comment.