youtube-downloader
youtube-downloader copied to clipboard
Using Tor as Proxy
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??