MarginaliaSearch/code/functions/live-capture
Viktor Lofgren 55aeb03c4a (feeds) Replace rssreader based parsing with a custom jsoup based rss parser
This solves some issues with the rssreader based parser, which was very picky about the XML being valid.  Jsoup is much more lenient when parsing malformed XML.
2025-01-09 18:29:55 +01:00
..
api (service) Clean up exceptions when requestScreengrab is not available 2025-01-04 14:45:51 +01:00
java/nu/marginalia (feeds) Replace rssreader based parsing with a custom jsoup based rss parser 2025-01-09 18:29:55 +01:00
test/nu/marginalia (feeds) Replace rssreader based parsing with a custom jsoup based rss parser 2025-01-09 18:29:55 +01:00
test-resources (search) Vendor rssreader and modify it to be able to consume the nlnet atom feed 2025-01-06 17:58:50 +01:00
build.gradle (feeds) Add system property for exporting fetched feeds to a slop table for debugging 2025-01-08 20:49:16 +01:00
readme.md (live-capture) Add readme to live-capture function 2024-09-28 11:35:46 +02:00

This is a subsystem that allows on-demand screenshot capture of a website.

It uses the local browserless API to capture data. To use this module, you must have a browserless docker container running on machine, and then set the live-capture.browserless-uri system property to the address of the browserless container (e.g http://my-container:3000/).

When disabled, the subsystem will acknowledge the request, but will not act on it.

The module will only enable on the primary node of a service to simplify dealing with race conditions and duplicate requests.