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

How to install without Composer #123

Closed ndsda closed 3 years ago

ndsda commented 3 years ago

I copied the src directory, but when I run it I get this error:

Fatal error: Uncaught Error: Class 'Curl\BrowserClient' not found in /Browser.php:8

Where can I get Curl\BrowserClient?

ndsda commented 3 years ago

How do I get all the dependencies?

AgentSmith0 commented 3 years ago

Have a look at this issue: https://github.com/Athlon1600/youtube-downloader/issues/112#issuecomment-854085132 You can download the zip file and include the autoload.php file. Alternatively you can go to https://php-download.com/package/athlon1600/youtube-downloader and download the zip file there, but they are now a paid service. I hope this helps.

peter279k commented 3 years ago

You can also check my new repository to resolve this issue.

I use the clue/phar-composer to build current released Phar with different PHP versions and released tag.

You can follow the usage to download & use the Phar file :).

Athlon1600 commented 3 years ago

^ that works. I've also added back the complete pre-installed version of youtube-downloader as a zip file here: https://github.com/Athlon1600/youtube-downloader/releases/tag/v3.0.2

so you have two options now. I might start just including .phar file with each new release, because that's a much better idea.

ndsda commented 3 years ago

@Athlon1600 Thanks for the zip file with the version that doesn't use composer.