Athlon1600 / youtube-downloader

:tv: PHP based alternative to youtube-dl and yt-dlp. Active and frequently updated! :star:
https://unblockvideos.com/
MIT License
805 stars 316 forks source link

it doesnt work from yearsterday #172

Open LaJun opened 1 year ago

LaJun commented 1 year ago

there is no data response

alisaleem252 commented 1 year ago

Same. I am getting link not found.

alisaleem252 commented 1 year ago

it working on localhost setup but not online. even on digitalocean app or heroku

alisaleem252 commented 1 year ago

Found a fix for it. https://github.com/Athlon1600/youtube-downloader/blob/c68112b6dff211ab0dbdcf63089f85720db84503/src/YouTubeDownloader.php#L103 line 103, 104 Change it to following

"clientName" => "ANDROID_EMBEDDED_PLAYER",
"clientVersion" => "16.20",

Thanks to @ershagen

anajo333 commented 1 year ago

Found a fix for it.

https://github.com/Athlon1600/youtube-downloader/blob/c68112b6dff211ab0dbdcf63089f85720db84503/src/YouTubeDownloader.php#L103

line 103, 104 Change it to following

"clientName" => "WEB",
"clientVersion" => "2.20210721.00.00",

But this is returning URL with access denied.

I tried this edit and the problem is solved, thank you 🙏. But I didn't understand, What is the URL that returns access denied that you talking about?

alisaleem252 commented 1 year ago

The links to the video returned cannot be downloaded or viewed. Have you tried that?

cryinrain69 commented 1 year ago

Found a fix for it. https://github.com/Athlon1600/youtube-downloader/blob/c68112b6dff211ab0dbdcf63089f85720db84503/src/YouTubeDownloader.php#L103

line 103, 104 Change it to following

"clientName" => "WEB",
"clientVersion" => "2.20210721.00.00",

But this is returning URL with access denied.

I tried this edit and the problem is solved, thank you 🙏. But I didn't understand, What is the URL that returns access denied that you talking about?

I tried but it returns the stream play link very slowly, almost unplayable. It is limited in bandwidth.

cryinrain69 commented 1 year ago

Anyone have any other solution ?

ershagen commented 1 year ago

I used following:

"clientName" => "ANDROID_EMBEDDED_PLAYER", "clientVersion" => "16.20",

And works like a charm!

cryinrain69 commented 1 year ago

I used following:

"clientName" => "ANDROID_EMBEDDED_PLAYER", "clientVersion" => "16.20",

And works like a charm!

Thank you. I will try to try it.

KarimQaderi commented 1 year ago

I used following:

"clientName" => "ANDROID_EMBEDDED_PLAYER", "clientVersion" => "16.20",

And works like a charm!

Works

But It is limited in bandwidth.

alisaleem252 commented 1 year ago

16.20

Thanks, this worked. Someone please create a PR for this.

cryinrain69 commented 1 year ago

I used following:

"clientName" => "ANDROID_EMBEDDED_PLAYER", "clientVersion" => "16.20",

And works like a charm!

Not working for this video: https://www.youtube.com/watch?v=0vrPc1itkeg https://www.youtube.com/watch?v=Xx6YaUIMuRQ

teddybugs commented 1 year ago

Not working:

"clientName" => "WEB",
"clientVersion" => "2.20210721.00.00",

Working to get title and description: "clientName" => "ANDROID_EMBEDDED_PLAYER", "clientVersion" => "16.20", video link are empty. waiting author to update.