K-S-V / Scripts

Collection of my scripts
GNU General Public License v3.0
635 stars 227 forks source link

Honor http_proxy environment variable #97

Closed stefansundin closed 11 months ago

stefansundin commented 6 years ago

A lot of programs (including ffmpeg), proxies their requests via an HTTP proxy if the environment variable http_proxy is set. This patch gives AdobeHDS.php the same ability.

Example usage:

$ export http_proxy=http://127.0.0.1:8118/
$ php AdobeHDS.php ...