output to out/feeds/*
This commit is contained in:
parent
beac981047
commit
6fd3b598ab
11 changed files with 298 additions and 16 deletions
|
|
@ -11,6 +11,7 @@ from repub.config import (
|
|||
FeedConfig,
|
||||
build_base_settings,
|
||||
build_feed_settings,
|
||||
feed_output_dir,
|
||||
load_config,
|
||||
)
|
||||
from repub.media import check_runtime
|
||||
|
|
@ -30,7 +31,9 @@ class FeedNameFilter:
|
|||
def prepare_output_dirs(out_dir: Path, feed_name: str) -> None:
|
||||
(out_dir / "logs").mkdir(parents=True, exist_ok=True)
|
||||
(out_dir / "httpcache").mkdir(parents=True, exist_ok=True)
|
||||
(out_dir / feed_name).mkdir(parents=True, exist_ok=True)
|
||||
feed_output_dir(out_dir=out_dir, feed_slug=feed_name).mkdir(
|
||||
parents=True, exist_ok=True
|
||||
)
|
||||
|
||||
|
||||
def create_feed_crawler(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue