Consolidation en cas d'appel avec simple downloader

This commit is contained in:
Jean-Marie Favreau 2024-11-29 11:42:29 +01:00
parent 42fb85af48
commit 4e9ac573ac

View File

@ -264,7 +264,8 @@ class TwoStepsExtractorNoPause(TwoStepsExtractor):
only_future=True,
ignore_404=True
):
pause = self.downloader.pause
if hasattr(self.downloader, "pause"):
pause = self.downloader.pause
self.downloader.pause = False
result = super().extract(content, url, url_human, default_values, published, only_future, ignore_404)
self.downloader.pause = pause