The most direct way is to configure the proxy within your Python script before calling the downloader.
If your proxy requires a username and password, provide them as a tuple.
Proxies often intercept HTTPS traffic, which can trigger the [SSL: CERTIFICATE_VERIFY_FAILED] error. If this occurs, you can temporarily bypass SSL verification (use with caution):