You are not logged in.
Pages: 1
Hey! I need to take a snapshot of the site using a console application. I forgot what it's called. Help me remember.
Offline
What kind of site? What kind of snapshot?
Inofficial first vice president of the Rust Evangelism Strike Force
Offline
Perhaps "wget"?
It really depends on what exactly you mean by snapshot. HTML? PNG?
Offline
Photo of the site with PNG format.
Offline
Offline
https://github.com/puppeteer/puppeteer can screenshot an entire web page. But I always just use the screenshot tool in Chrome developer tools.
Offline
Hello.
2Morn, How to install puppeteer? I'm not found PKGBUILD file...
2ManyDogs, I don't understand how to snapshot the site via scrot. Can you help me please? In help I'm don't found parameter like URL.
Offline
What kind of site? What kind of snapshot?
Do you want to download the webpage into a local copy (wget) or make a photo of what you currently see in your browser?
Browsers also allow you to print webpages, eg. into pdf's.
Offline
If you want to download it, you could use a script [1] such as this:
wget \
--recursive \ # Download the whole site.
--page-requisites \ # Get all assets/elements (CSS/JS/images).
--adjust-extension \ # Save files with .html on the end.
--span-hosts \ # Include necessary assets from offsite as well.
--convert-links \ # Update links to still work in the static version.
--restrict-file-names=windows \ # Modify filenames to work in Windows as well.
--domains yoursite.com \ # Do not follow links outside this domain.
--no-parent \ # Don't follow links outside the directory you pass in.
yoursite.com/whatever/path # The URL to downloadOffline
Hello.
2Morn, How to install puppeteer? I'm not found PKGBUILD file...
Just follow the README file I guess. I am not an expert on npm myself, but e.g. on this page (https://bitsofco.de/using-a-headless-br … reenshots/) there is an example script that captures a website screenshot this way.
2ManyDogs, I don't understand how to snapshot the site via scrot. Can you help me please? In help I'm don't found parameter like URL.
Scrot is for taking screenshots of the desktop. So it does not accept an URL, just an output filename.
Offline
Thank you guys!
Offline
Pages: 1