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

Can I use password protected HTTPS proxy? #489

Open
artquest opened this issue Apr 12, 2023 · 2 comments
Open

Can I use password protected HTTPS proxy? #489

artquest opened this issue Apr 12, 2023 · 2 comments
Labels
question Further information is requested

Comments

@artquest
Copy link

I tried like this: freeuser1:[email protected]:9251 — but got an error. The proxy is working in Chrome.

{
  "shortMessage": "Command failed with exit code 1: C:\\Users\\%username%\\AppData\\Local\\Programs\\youtube-dl-gui\\resources\\app.asar.unpacked\\binaries\\yt-dlp.exe -J --flat-playlist --no-cache-dir --ignore-config --user-agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.190 Safari/537.36 --proxy freeuser1:[email protected]:9251 --no-check-certificate --yes-playlist https://www.youtube.com/watch?v=Bla6rgfZgaI",
  "command": "C:\\Users\\%username%\\AppData\\Local\\Programs\\youtube-dl-gui\\resources\\app.asar.unpacked\\binaries\\yt-dlp.exe -J --flat-playlist --no-cache-dir --ignore-config --user-agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.190 Safari/537.36 --proxy freeuser1:[email protected]:9251 --no-check-certificate --yes-playlist https://www.youtube.com/watch?v=Bla6rgfZgaI",
  "exitCode": 1,
  "stdout": "null",
  "stderr": "WARNING: [youtube] Unable to download webpage: <urlopen error [WinError 10054] An existing connection was forcibly closed by the remote host>\nWARNING: [youtube] <urlopen error [WinError 10054] An existing connection was forcibly closed by the remote host>. Retrying (1/3)...\nWARNING: [youtube] <urlopen error [WinError 10054] An existing connection was forcibly closed by the remote host>. Retrying (2/3)...\nWARNING: [youtube] <urlopen error [WinError 10054] An existing connection was forcibly closed by the remote host>. Retrying (3/3)...\nWARNING: [youtube] Unable to download webpage: <urlopen error [WinError 10054] An existing connection was forcibly closed by the remote host>\nWARNING: [youtube] <urlopen error [WinError 10054] An existing connection was forcibly closed by the remote host>. Retrying (1/3)...\nWARNING: [youtube] <urlopen error [WinError 10054] An existing connection was forcibly closed by the remote host>. Retrying (2/3)...\nWARNING: [youtube] <urlopen error [WinError 10054] An existing connection was forcibly closed by the remote host>. Retrying (3/3)...\nWARNING: [youtube] Unable to download API page: <urlopen error [WinError 10054] An existing connection was forcibly closed by the remote host> (caused by URLError(ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)))\nERROR: [youtube] Bla6rgfZgaI: Unable to download API page: <urlopen error [WinError 10054] An existing connection was forcibly closed by the remote host> (caused by URLError(ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)))",
  "failed": true,
  "timedOut": false,
  "isCanceled": false,
  "killed": false
}
@artquest artquest added the question Further information is requested label Apr 12, 2023
@StefanLobbenmeier
Copy link
Contributor

I think yt-dlp also expects the protocol of the proxy, e.g. socks5://freeuser1:[email protected]:9251

But it also does not work on my machine (tried http, https, socks5), not sure if the proxy server still exists or what protocol it expects

--proxy URL                     Use the specified HTTP/HTTPS/SOCKS proxy. To
                                enable SOCKS proxy, specify a proper scheme,
                                e.g. socks5://user:[email protected]:1080/.
                                Pass in an empty string (--proxy "") for
                                direct connection

@artquest
Copy link
Author

artquest commented Apr 16, 2023

Hi, thank you for the answer, the proxy is from under the hood of Planet VPN Chrome extension. And somehow one of its proxy (but I guess any of them) is working in my other extension, Runet Censorship Bypass. But when I tried to check this proxy in Proxifier, the test failed. Perhaps these proxies only work in browsers. Btw, it's https.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants