webscreenshot
A simple script to screenshot a list of websites, based on the url-to-image PhantomJS script.
Name:webscreenshot
Category:Discovery
Publisher:trickest
Created:6/23/2021
Container:
quay.io/trickest/webscreenshot:16e5c2a
Output Type:
License:Unknown
Source:View Source
Parameters
--ssl
Enforce SSL/TLS for every connection.
Single URL target.--crop
Rectangle <t,l,w,h> to crop the screen capture to (default to WINDOW_SIZE: '0,0,w,h'), only numbers, w(idth) and h(eight). Example: 10,20,w,h.--port
Use the specified port for each target in the input list.--label
For each screenshot, create another one displaying inside the target URL.--proxy
Specify a proxy. Example: http://proxy.company.com:8080.--cookie
Cookie string to add. Example: -c JSESSIONID=1234; YOLO=SWAG.--format
Specify an output image file format {pdf,png,jpg,jpeg,bmp,ppm} (default: png).--header
Custom or additional header. Repeat this option for every header. Example: -a Host: localhost -a Foo: bar.--quality
Specify the output image quality, an integer between 0 and 100 (default: 75).--timeout
Renderer execution timeout in seconds (default: 30).--workers
Number of parallel execution workers (default: 4).--renderer
Renderer to use among 'phantomjs' (legacy but best results), 'chrome', 'chromium', 'edgechromium', 'firefox' (version > 57) (default: phantomjs)--custom-js
File containing JavaScript code to be executed before taking the screenshot.--input-file
File containing the target list.--label-size
Font size for the label (default: 60).--no-xserver
Run without an X server.--proxy-auth
Provides authentication information for the proxy. Example: user:password.--proxy-type
Specifies the proxy type, http (default), none (disable completely), or socks5. Example: socks.--window-size
Width and height of the screen capture (default: 1200,800).--http-password
Specify a password for HTTP Basic Authentication.--http-username
Specify a username for HTTP Basic Authentication.--multiprotocol
Perform screenshots over HTTP and HTTPS for each target.--no-error-file
Do not write a file with the list of URL of failed screenshots (default: false).--label-bg-color
Label imagemagick background color (default: NavajoWhite).--renderer-binary
Renderer executable file.--verbosity
Verbosity level, repeat it to increase the level { -v INFO, -vv DEBUG } (default verbosity: ERROR)--ajax-max-timeouts
Per AJAX request, and max URL timeout in milliseconds (default: 1400,1800).