Scraping Engine
The main scraping workflow of PageSieve is controlled by an XState finite state machine implemented in packages/core/src/scrapeMachine.ts. Below is a diagram of the states and transitions of the state machine created with Lini. View Lini source.