eyecatchup / php-yt_downloader

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

" ↵Grabbing original file location(s) failed. " #23

Open Shrekie opened 8 years ago

Shrekie commented 8 years ago

Object {readyState: 4, responseText: " ↵Grabbing original file location(s) failed. ", status: 200, statusText: "OK"}

I keep getting this error, not sure why sometimes and other times just doing the request repeatedly solves it.

YannikB commented 8 years ago

Same :/

adampisula commented 7 years ago

I have the same problem. Somebody?

kehleyr commented 7 years ago

I use this code in youtube-dl.class.php:

if(preg_match('/url=(.*?)&.*?itag=([0-9]+)/si',$url,$um)) { $u = urldecode($um[1]); $tmp[$um[2]] = $u; } else if (preg_match('/itag=([0-9]+)&.*url=(.*)/si',$url, $um)) { $u = urldecode($um[2]); $tmp[$um[1]] = $u; }

ArfanMirza commented 7 years ago

here is solution, solved by maykbrito, neotropic2023 cheers!

https://github.com/eyecatchup/php-yt_downloader/issues/10

ArfanMirza commented 7 years ago

If you are using any framework like codeigniter then set AppPath too!

like i did APPPATH complete directory path where whole framework reside.

const Download_Folder = APPPATH.'libraries/videos/'; After this path for videos directory is /var/www/html/admin/application/libraries/videos/ ... here you can found your files after script end! cheers 👍