Skip to content

Add ability to specify proxy settings for ytdlp #997

@lexuzieel

Description

@lexuzieel

What happened?

Currently download can fail when access to youtube is blocked:

Failed to download audio: WARNING: [youtube] EOF occurred in violation of protocol (_ssl.c:1007). Retrying (1/3)...
WARNING: [youtube] ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)). Retrying (2/3)...
WARNING: [youtube] ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)). Retrying (3/3)...
WARNING: [youtube] Unable to download webpage: HTTPSConnectionPool(host='www.youtube.com', port=443): Read timed out. (read timeout=20.0) (caused by TransportError("HTTPSConnectionPool(host='www.youtube.com', port=443): Read timed out. (read timeout=20.0)")). Giving up after 3 retries
WARNING: [youtube] ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)). Retrying (1/3)...
WARNING: [youtube] ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)). Retrying (2/3)...
WARNING: [youtube] EOF occurred in violation of protocol (_ssl.c:1007). Retrying (3/3)...
ERROR: [youtube] AhqNIEgK_xc: Unable to download API page: HTTPSConnectionPool(host='www.youtube.com', port=443): Read timed out. (read timeout=20.0) (caused by TransportError("HTTPSConnectionPool(host='www.youtube.com', port=443): Read timed out. (read timeout=20.0)"))

Location:
    desktop\src-tauri\src\cmd\ytdlp.rs:163:9

Steps to reproduce

  1. Be in a country or network where youtube is blocked
  2. Try to download a video

What OS are you seeing the problem on?

Window

Relevant log output

Failed to download audio: WARNING: [youtube] EOF occurred in violation of protocol (_ssl.c:1007). Retrying (1/3)...
WARNING: [youtube] ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)). Retrying (2/3)...
WARNING: [youtube] ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)). Retrying (3/3)...
WARNING: [youtube] Unable to download webpage: HTTPSConnectionPool(host='www.youtube.com', port=443): Read timed out. (read timeout=20.0) (caused by TransportError("HTTPSConnectionPool(host='www.youtube.com', port=443): Read timed out. (read timeout=20.0)")). Giving up after 3 retries
WARNING: [youtube] ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)). Retrying (1/3)...
WARNING: [youtube] ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)). Retrying (2/3)...
WARNING: [youtube] EOF occurred in violation of protocol (_ssl.c:1007). Retrying (3/3)...
ERROR: [youtube] AhqNIEgK_xc: Unable to download API page: HTTPSConnectionPool(host='www.youtube.com', port=443): Read timed out. (read timeout=20.0) (caused by TransportError("HTTPSConnectionPool(host='www.youtube.com', port=443): Read timed out. (read timeout=20.0)"))

Location:
    desktop\src-tauri\src\cmd\ytdlp.rs:163:9
App Version: vibe 3.0.15
Commit Hash: fa2c801
Arch: x86_64
Platform: windows
Kernel Version: 10.0.22631
OS: windows
OS Version: 10.0.22631
Cuda Version: n/a
Models: ggml-large-v3-turbo.bin
Default Model: "C:\\Users\\Aleksei\\AppData\\Local\\github.zerozr99.workers.dev.thewh1teagle.vibe\\ggml-large-v3-turbo.bin"
Cargo features: 


{"avx":{"enabled":true,"support":true},"avx2":{"enabled":true,"support":true},"f16c":{"enabled":true,"support":true},"fma":{"enabled":true,"support":true}}


<details>
<summary>logs</summary>




</details>

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions