youtube-downloader icon indicating copy to clipboard operation
youtube-downloader copied to clipboard

Using Tor as Proxy

Open kihanb opened this issue 2 years ago • 0 comments

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??

kihanb avatar Aug 18 '22 16:08 kihanb