+# This file is part of Librarian, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Wolne Lektury. See NOTICE for more information.
+#
import argparse
import os.path
from .builders import builders
"mp3": args.mp3,
}
- output = document.build(builder, **kwargs)
+ output = document.build(builder, base_url=args.base_url, **kwargs)
with open(output_file_path, 'wb') as f:
f.write(output.get_bytes())