1 Home
Eddy edited this page 2025-07-22 23:52:45 -04:00

Late night idea dump....

break the downloading out into webharvest-core package, this will be almost all the the pydantic models and most of the logic that handles the downloading.

You should be able to use this to download a page without needing the server (kind of like how scraperx can now) then the downloader server will be the part handling all of the orchestration and running of the batches.

The core pkg models will have no defaults, and anything that is required will be required and defaults will be set by the server. not at the package level.

After the core package is created and tested, rename anything with "scraper" to be "downloader" to make it clear it only does on thing. also rename the api server repo to be "webharvest-downloader" and the extractor repo to be "webharvest-extractor".

Then the webharvest-core package will be the base for both the downloader and extractor plugins, and the webharvest-downloader and webharvest-extractor packages will be the servers that run the plugins.

then the default builtin downloaders package will be called wh-downloader-plugins and the default builtin extractors package will be called wh-extractor-plugins.