-
Notifications
You must be signed in to change notification settings - Fork 468
not working on any youtube id #3
Comments
fmehdl do you know what version of php you are running? Is curl installed on your server? $url_encoded_fmt_stream_map comes from parsing the $video_info returned from youtube - if for some reason curl isn't able to get that content, it won't include any format map. You could add, at line 76 of getvideo.php, something like: echo ' This is what youtube returned: '. $video_info .' ';That will dump out what curl got, or nothing - I can tighten up the error checking but that's not the real underlying problem |
Just checked in some better error checking for this case, including output of what $video_info contained |
oh! my server is on germany, and some videos are filtered in their region! thank you. thanks |
fmehdl if you use the 'server proxy' option (just added) that will use your server as a proxy and will get the correct filename. In the normal case (using the link directly) there is no way to set the download filename as the browser is requesting the file directly from youtube. |
thank you :-) |
i can't download any file with any youtube id and return these errors :
Notice: Undefined variable: url_encoded_fmt_stream_map in /home/khorjina/www/YouTube-Downloader-master/getvideo.php on line 67 Notice: Undefined variable: itag in /home/khorjina/www/YouTube-Downloader-master/getvideo.php on line 78 Notice: Undefined variable: quality in /home/khorjina/www/YouTube-Downloader-master/getvideo.php on line 79 Notice: Undefined variable: type in /home/khorjina/www/YouTube-Downloader-master/getvideo.php on line 80 Notice: Undefined variable: url in /home/khorjina/www/YouTube-Downloader-master/getvideo.php on line 82 Notice: Undefined variable: sig in /home/khorjina/www/YouTube-Downloader-master/getvideo.php on line 82
List of Available Formats for Download - right-click and choose "save as"
i checked that with this id :
OuvW65fXqmg
CyPAPSvtFPY
r5zVRY6SLow
The text was updated successfully, but these errors were encountered: