Add support for proxy and dont verify certificate args#84
Add support for proxy and dont verify certificate args#84SwiftExtender wants to merge 5 commits intojsvine:masterfrom
Conversation
|
Since
... but does that not work for your use case? If so, could you include a test that helps verify/debug? |
|
Setting PROXY env variables override proxy settings for programs written on Python, Ruby, Go. I would like to set different proxies for different processes |
|
If I'm understanding your concern correctly, you can also set environment variables on a process-level, e.g.: HTTPS_PROXY="https://example.com" waybackpack [...]... which would set the environment variable just for that invocation and not affect any other processes. |
|
Ok, option for setting proxy may be not useful, but setting disable of certificate check still important |

Sometimes archive.org cant be accessed without proxy so i added support for proxy specifying
CLI Example:
waybackpack url --proxy http://host:port -d output_folder
Also i added support for dont verifiying certs. It can be helpful is CA of archive.org cant be trusted (in rare cases it can be fired by using proxies)
CLI Example:
waybackpack url --proxy http://host:port --no-verify-certificate -d output_folder