[common] pass job status to 'finalize()'

This commit is contained in:
Mike Fährmann
2026-02-06 18:47:11 +01:00
parent da887721c9
commit 40e4cc62c4
7 changed files with 14 additions and 14 deletions

View File

@@ -672,8 +672,8 @@ class TwitterExtractor(Extractor):
def tweets(self):
"""Yield all relevant tweet objects"""
def finalize(self):
if self._cursor:
def finalize(self, status):
if status and self._cursor:
self.log.info("Use '-o cursor=%s' to continue downloading "
"from the current position", self._cursor)