snobu / destreamer

Save Microsoft Stream videos for offline enjoyment.
MIT License
2.37k stars 439 forks source link

Wish to have feature to use proxy #196

Closed popwee416 closed 4 years ago

popwee416 commented 4 years ago

Hope we can add feature to support proxy in the command such as --proxy , so that we can use proxy to download in faster speed or when we are in restricted network.

Thanks

lukaarma commented 4 years ago

Hi I'm on vacation, I'll be back next week and I'll look into it

Edit: probably it can be added, it should be easy... I'll look into it

snobu commented 4 years ago

We have a dependency on ffmpeg, even if we (destreamer) honor proxy settings we would need to find a way to convince ffmpeg to use the proxy, worse if we add aria as a dependency as well (which we will)... you see where this is going.

Just spin up a VM somewhere you don't need a proxy to access the internet.

lukaarma commented 4 years ago

@snobu if I'm not mistaken aria has proxy settings and when we use aria ffmpeg will be all offline

snobu commented 4 years ago

Ah i see. Ok, i'm gonna start a new Project for destreamer v3 and link this issue there. Yes, i guess we could expose aria's configuration somehow (either though a .destreamer config file or CLI params) - https://aria2.github.io/manual/en/html/aria2c.html?highlight=all%20proxy#http-ftp-sftp-options