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