eyecatchup/php-yt_downloader

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

Shrekie opened this issue · 5 comments

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.

Same :/

I have the same problem. Somebody?

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; }

here is solution, solved by maykbrito, neotropic2023 cheers!

#10

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 👍