eyecatchup / php-yt_downloader

PHP Class to download videos from YouTube.
http://eyecatchup.github.com/php-yt_downloader/
293 stars 166 forks source link

i have installed youtube-dl ,ffmpeg ,enabled curl and json but the video which is downloaded showing 0 KB however the thumbnail of the video is created .plz fix it #9

Open snehasahu opened 11 years ago

snehasahu commented 11 years ago

i have installed youtube-dl ,ffmpeg ,enabled curl and json but the video which is downloaded showing 0 KB however the thumbnail of the video is created .plz fix it

ghost commented 11 years ago

I have the same problem... did you found any solution?

surveashwini commented 11 years ago

I am having the same prob can u fix dat plz

snehasahu commented 11 years ago

just write the following command in ur php code:

exec(youtube-dl http://www.youtube.com/watch?v=YbT0xy_Jai0);

and ur video wil be downloaded.

surveashwini commented 11 years ago

<?php require('youtube-dl.class.php'); try { exec(youtube-dl http://www.youtube.com/watch?v=YbT0xy_Jai0); } catch (Exception $e) { die($e->getMessage()); } } this is my code

Parse error: syntax error, unexpected T_STRING in C:\wamp\www\eyecatchup\index.php on line 5 error is coming

its still not working... execute the index.php in the attachment.

surveashwini commented 11 years ago

i got it implemented for that v need to download youtube-dl then only the command executes. Now can u tell me some way to download you tube videos in a specific folder

appndsoftcorner commented 11 years ago

Hello i made changes to the script which is described above the it is asking me to install youtube-dl ,ffmpeg and enable curl and json,how to install them on a file hosting site in cpanel.

Please give me detailed steps because i am very new to this....