Closed passgall closed 3 years ago
python-mpv passes through all options to the underlying libmpv. According to the doc, there are two places where you can set proxies.
ytdl-raw-options
command-line option. doc here. You can pass this option through python-mpv by passing it to the constructor like so: mpv.MPV(..., ytdl_raw_options="....")
. Note the underscores in the option name.http-proxy
command-line option, mpv.MPV(..., http_proxy="...")
. doc here. Note that the doc on ytdl-raw-options
has some inconsistent warnings about SOCKS and HTTPS not being supported.I hope that helps :)
I'm closing this issue because it seems it is resolved.
I want to use proxy(socks) with python-mpv. I have seen it should uesd with youtube-dl. Any one can give some examples?