Athlon1600 / youtube-downloader

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

Using Tor as Proxy #166

Open kihanb opened 2 years ago

kihanb commented 2 years ago

I'm using tor as proxy like this:

$youtube = new YouTubeDownloader(); $youtube->getBrowser()->setProxy('127.0.0.1:9050'); $downloadOptions = $youtube->getDownloadLinks('https://www.youtube.com/watch?v=e-ORhEE9VVg');

But I got this error:

PHP Fatal error: Uncaught YouTube\Exception\YouTubeException: Page failed to load. HTTP error: Received HTTP code 501 from proxy after CONNECT

is this error from youtube server or else??