{"repo":"localnerve/html-snapshots","free":true,"listed":false,"github":"https://github.com/localnerve/html-snapshots","clone":"git clone https://github.com/localnerve/html-snapshots.git","description":"A selector-based html snapshot tool using Puppeteer or Playwright that sources sitemap.xml, sitemap-index, robots.txt, or arbitrary input","language":"JavaScript","stars":129,"topics":["html-snapshots","javascript","phantomjs-process","puppeteer"],"license":"MIT","category":"scrapers-browser-automation","readme_excerpt":"html-snapshots Takes html snapshots of your site's crawlable pages when an element you select is rendered. Contents - html-snapshots - Contents - Overview - Getting Started - Installation - Grunt Task - More Information - Process Model - API - [ Promise run (options\\[, callback\\])](#promise-run-options-callback) - Callback - Example Usage - Quick Example - Options - Input Control Options - Sitemap Only Input Options - Origin Options - Output Control Options - Snapshot Control Options - Process Control Options - Example Rewrite Rule - Connect-modrewrite - Middleware Example - License Overview html-snapshots is a flexible html snapshot library that uses a headless browser to take html snapshots of your webpages served from your site. A snapshot is only taken when a specified selector is detected visible in the output html. This tool is useful when your site is largely ajax content, or an SPA, and you want your dynamic content indexed by search engines. html-snapshots gets urls to process from either a robots.txt, sitemap.xml, or sitemap-index.xml. Alternatively, you can supply an array with completely arbitrary urls, or a line delimited textfile with arbitrary host-relative paths. Change History This is an old project that has evolved since 2013. I've endeavored to keep it easy to use and upgrade. However, before upgrading, please review the release notes and the history for breaking changes. Getting Started Installation The simplest way to install html-snapshots is to use npm.","default_branch":null,"files":null,"tree":[],"storefront":"/r/localnerve","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/localnerve/html-snapshots/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}