save HTML as a SingleFile with all assets?

Has anybody had success running this SingleFile package (https://github.com/gildas-lormeau/SingleFile) within PlaywrightCrawler?

I’m trying to save HTML with all style and image assets as data strings, but it’s clunky. This package looks like it would work well if only we could use it within the crawler’s context.

Looking for ideas to integrate this or replicate its features in Playwright. Thanks
GitHub
Web Extension for saving a faithful copy of a complete web page in a single HTML file - gildas-lormeau/SingleFile
Was this page helpful?