From 72c5d26e8501035ce1d6a795d94ca01de7d1a084 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Wed, 23 Nov 2022 22:21:59 +0100 Subject: [PATCH] [hotleak] fix UnboundLocalError (#3288, #3293) --- gallery_dl/extractor/hotleak.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gallery_dl/extractor/hotleak.py b/gallery_dl/extractor/hotleak.py index 01ad38c5..eb64db0d 100644 --- a/gallery_dl/extractor/hotleak.py +++ b/gallery_dl/extractor/hotleak.py @@ -146,6 +146,7 @@ class HotleakCreatorExtractor(HotleakExtractor): self.wait( until=exc.response.headers.get("X-RateLimit-Reset")) continue + raise posts = response.json() if not posts: