diff --git a/src/auto_archiver/core/orchestrator.py b/src/auto_archiver/core/orchestrator.py index 1835ae2..4378100 100644 --- a/src/auto_archiver/core/orchestrator.py +++ b/src/auto_archiver/core/orchestrator.py @@ -114,7 +114,7 @@ class ArchivingOrchestrator: # 6 - format and store formatted if needed # enrichers typically need access to already stored URLs etc if (final_media := self.formatter.format(result)): - final_media.store() + final_media.store(url=url) result.set_final_media(final_media) if result.is_empty(): diff --git a/src/auto_archiver/enrichers/whisper_enricher.py b/src/auto_archiver/enrichers/whisper_enricher.py index 9a3fd88..51aca86 100644 --- a/src/auto_archiver/enrichers/whisper_enricher.py +++ b/src/auto_archiver/enrichers/whisper_enricher.py @@ -42,7 +42,7 @@ class WhisperEnricher(Enricher): job_results = {} for i, m in enumerate(to_enrich.media): if m.is_video() or m.is_audio(): - m.store() + m.store(url=url) try: job_id = self.submit_job(m) job_results[job_id] = False