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

Using Tor as Proxy #166

Open
kihanb opened this issue Aug 18, 2022 · 0 comments
Open

Using Tor as Proxy #166

kihanb opened this issue Aug 18, 2022 · 0 comments

Comments

@kihanb
Copy link

kihanb commented Aug 18, 2022

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

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

1 participant