Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
mkscreenshot
takes screenshots of websites from the command line using selenium and PhantomJS.
First, you need to install PhantomJS and ensure it's on your path.
You can do this by manually downloading PhantomJS from their website (all platforms); installing PhantomJS with Homebrew: brew cask install phantomjs
(OS X); installing PhantomJS with npm: npm install -g phantomjs
(all platforms); or using your system's package manager.
That's the hard part! Once that's done, installing mkscreenshot
is as simple as:
pip3 install mkscreenshot
Please note: mkscreenshot
is only tested with Python 3.5 – you should be using Python 3!
Usage: mkscreenshot [OPTIONS] URL
Options:
--output TEXT Filename for the screenshot (defaults to the domain name)
--sleep INTEGER Wait before taking the screenshot to allow asynchronous
scripts to load
--width INTEGER Specify the width of the browser window
--help Show this message and exit.
For example, to take a screenshot of the Hacker News homepage:
> mkscreenshot https://news.ycombinator.com
And you'll get a screenshot like this:
mkscreenshot
is licensed under the MIT License and I encourage you to remix it for your own purposes.
FAQs
Screenshot websites quickly
We found that mkscreenshot demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.