1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-23 11:12:40 +01:00

[hotleak] fix UnboundLocalError (#3288, #3293)

This commit is contained in:
Mike Fährmann 2022-11-23 22:21:59 +01:00
parent 501d9bccfe
commit 72c5d26e85
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -146,6 +146,7 @@ class HotleakCreatorExtractor(HotleakExtractor):
self.wait( self.wait(
until=exc.response.headers.get("X-RateLimit-Reset")) until=exc.response.headers.get("X-RateLimit-Reset"))
continue continue
raise
posts = response.json() posts = response.json()
if not posts: if not posts: