Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only Download Audio #169

Open
sesita opened this issue Sep 19, 2022 · 4 comments
Open

Only Download Audio #169

sesita opened this issue Sep 19, 2022 · 4 comments

Comments

@sesita
Copy link

sesita commented Sep 19, 2022

when i share any video link its download only audio.

$youtube = new YouTubeDownloader();

$download = $youtube->getDownloadLinks("https://www.youtube.com/watch?v=DGWpipnb9eY&t=1s");

if ($download->getAllFormats()) {
        return redirect($download->getFirstCombinedFormat()->url);
 }
@anajo333
Copy link

Same Problem

@sesita
Copy link
Author

sesita commented Sep 21, 2022

Did you find any substitute?

@anajo333
Copy link

not yet

@akbarsatrio
Copy link

use this at getPlayerApiResponse() in YoutubeDownloader.php

"clientName" => "WEB_EMBEDDED_PLAYER",
"clientVersion" => "1.20220731.00.00",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants