kevva / screenshot-stream

Capture screenshot of a website and return it as a stream
MIT License
236 stars 38 forks source link

extend `screenshot` by PhantomJS command-line options #38

Closed agebhar1 closed 7 years ago

agebhar1 commented 7 years ago

In order to use screenshot-stream behind a HTTP proxy enable passing PhantomJS command-line options [1].

[1] http://phantomjs.org/api/command-line.html

sindresorhus commented 7 years ago

No thanks. Would be open to adding automatic proxy support based on OS settings if someone does a good PR, but don't want to complicate this module with more options.