cleanups and docs

This commit is contained in:
msramalho
2023-02-08 22:13:19 +00:00
parent d14adf0242
commit 2a7ece5dcc
6 changed files with 190 additions and 153 deletions

View File

@@ -51,7 +51,7 @@ class Config:
epilog="Check the code at https://github.com/bellingcat/auto-archiver"
)
parser.add_argument('--config', action='store', dest='config', help='the filename of the YAML configuration file (defaults to \'config.yaml\')', default='config.yaml')
parser.add_argument('--config', action='store', dest='config', help='the filename of the YAML configuration file (defaults to \'config.yaml\')', default='orchestration.yaml')
for configurable in self.configurable_parents:
child: Step

View File

@@ -31,7 +31,6 @@ class ArchivingOrchestrator:
self.feed_item(item)
def feed_item(self, item: Metadata) -> Metadata:
print("ARCHIVING", item)
try:
with tempfile.TemporaryDirectory(dir="./") as tmp_dir:
item.set_tmp_dir(tmp_dir)