Most importantly, lacus has a logo now
New features
- Support for captures with a headed browser (setting
allow_headed
). Only possible if lacus is running in a graphical environment. (see below for details) - Expose the results expiration timeout (setting
expire_results
to a lower value reduces the memory use if you have many captures)
Changes
- Attempt to stop stuck captures more aggressively
- Require Poetry 2.1
- Use latest version of playwright (v1.50)
- Lookyloo/PlaywrightCapture@v1.27.0...v1.28.0
- ail-project/LacusCore@v1.12.0...v1.13.0
Full Changelog: v1.12.0...v1.13.0
Notes for headed captures
The classical use of Lacus is to have it running on a server with no graphical interface (no X/Wayland server). The capture with Playwright uses a headless browser, runs some interactions on the page (see PlaywrightCapture for details), and finishes after a certain amount of time and/or no traffic. This method is good enough most of the time, but all the interactions on the page are predefined and cannot be modified by the user triggering the capture.
In order to use the headed option, you need the following:
- The configuration setting
"allow_headed" = True
inconfig/generic.json
- Lacus installed on a machine with a graphical interface
- Pass
headless
set toFalse
in the capture settings - Optionally
general_timeout_in_sec
set to the amount of time you want to interact with the page (it is set to 90 by default)
The headed capture mode opens a full browser configured with the settings passed to the capture, but it won't run the predefined interactions. Instead, it lets the user interact with the page for a set amount of time (general_timeout_in_sec
), stops the capture, and store the result as usual. It is mostly helpful to manually bypass captchas and other techniques used by websites to detect bots.