Files
metrics/source/plugins/community/screenshot
github-actions[bot] 2320c9e2ee chore: code formatting
2022-07-02 01:52:49 +00:00
..
2022-07-02 01:52:49 +00:00
2022-04-24 16:23:59 +00:00

← Back to plugins index

📸 Website screenshot

This plugin display a screenshot from any website. It can either the full page or a portion restricted by a CSS selector.

Authors@lowlighter
Supported features
→ Full specification
📗 Classic template 📘 Repository template 📙 Terminal template
👤 Users 👥 Organizations 📓 Repositories
No tokens are required for this plugin

➡️ Available options

OptionDescription

plugin_screenshot

Enable screenshot plugin

type: boolean
default: no

plugin_screenshot_title

Title caption

type: string
default: Screenshot

plugin_screenshot_url

Website url

type: string

plugin_screenshot_selector

CSS Selector

type: string
default: body

plugin_screenshot_background

Display background

type: boolean
default: yes

Examples workflows

name: XKCD of the day
uses: lowlighter/metrics@latest
with:
  filename: metrics.plugin.screenshot.svg
  token: NOT_NEEDED
  base: ""
  plugin_screenshot: yes
  plugin_screenshot_title: XKCD of the day
  plugin_screenshot_url: https://xkcd.com
  plugin_screenshot_selector: "#comic img"