Replies: 3 comments 1 reply
-
Without debugging I cannot say why it's not working.
to see what's going on |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for reply. I have got solution. i have corrected setbinpath . now
everything working fine .
Thank and
regards ,Suprabhat Joshi
…On Wed, Jul 26, 2023 at 9:12 AM Tomas Norkūnas ***@***.***> wrote:
Without debugging I cannot say why it's not working.
Use:
$yt->debug(function ($type, $buffer) {
if (\Symfony\Component\Process\Process::ERR === $type) {
echo $buffer;
} else {
echo $buffer;
}
});
to see what's going on
—
Reply to this email directly, view it on GitHub
<#206 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A6EW6VENRXTSRZTCNWJKN2LXSCG2NANCNFSM6AAAAAA2XPXTDA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using yt-dlp in my domain racer c panel php script to download youtube video . but yt-dlp not working.
setBinPath('yt-dlp'); $collection = $yt->download( Options::create() ->downloadPath('/') ->url('https://www.youtube.com/watch?v=oDAw7vW7H0c') ); foreach ($collection->getVideos() as $video) { if ($video->getError() !== null) { echo "Error downloading video: {$video->getError()}."; } else { print_r($video); // Will return Phonebloks // $video->getFile(); // \SplFileInfo instance of downloaded file } } why yt-dlp not working on cpanel ?i have written folowing code in cpanel public_html
Beta Was this translation helpful? Give feedback.
All reactions