[job] inline 'dispatch' loop

This commit is contained in:
Mike Fährmann
2025-12-05 11:48:51 +01:00
parent 402f53616b
commit d9c1d15aee
2 changed files with 30 additions and 29 deletions

View File

@@ -426,8 +426,7 @@ class ResultJob(job.DownloadJob):
def run(self):
self._init()
for msg in self.extractor:
self.dispatch(msg)
self.dispatch(self.extractor)
def handle_url(self, url, kwdict, fallback=None):
self._update_url(url)