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