optipng-bin icon indicating copy to clipboard operation
optipng-bin copied to clipboard

It should be possible to set URLs via envvars

Open imduffy15 opened this issue 8 years ago • 5 comments

The download URL is hard coded: .src('http://downloads.sourceforge.net/project/optipng/OptiPNG/optipng-0.7.6/optipng-0.7.6.tar.gz')

This means if the system has limited access or no internet access through a proxy installing the module has a probability to fail.

The user has no way to override this url with some local web server or even a file:// path. Phantom JS handles this pretty well: https://www.npmjs.com/package/phantomjs#downloading-from-a-custom-url

imduffy15 avatar Apr 16 '16 09:04 imduffy15

+1

bdellegrazie avatar May 02 '16 07:05 bdellegrazie

+1, downloading is very slow in China due to wall……

dickeylth avatar Feb 15 '17 03:02 dickeylth

+1, SourceForge has been having intermittent outages over the past few days (it is currently giving 502 and 404 errors), resulting in all CI jobs depending on this package failing .

tustvold avatar Feb 25 '18 13:02 tustvold

+1

yikuo123 avatar Aug 11 '18 03:08 yikuo123

+1

happy-func avatar Oct 28 '21 02:10 happy-func