935 B
935 B
Demo
This directory shows the runtime-config setup with a dedicated config file.
Local Run
From the repo root:
uv run repub --config demo/repub.toml
Because out_dir in demo/repub.toml is relative, output is written under demo/out/.
Files
repub.toml: example runtime config with feed definitions and Scrapy overridesfixtures/local-feed.rss: simple local RSS fixture forfile://feed testing
Local File Feed
repub already accepts absolute file:// feed URIs. To point it at the demo fixture, generate an absolute URI like this from the repo root:
python3 -c 'from pathlib import Path; print(Path("demo/fixtures/local-feed.rss").resolve().as_uri())'
Then use that value in a config entry:
[[feeds]]
name = "local-demo"
url = "file:///absolute/path/to/demo/fixtures/local-feed.rss"