mirror of
https://github.com/tubearchivist/tubearchivist
synced 2024-11-19 15:25:51 +00:00
better thumbnail final fall back handling
This commit is contained in:
parent
b6ae225342
commit
58818bb91c
@ -61,7 +61,7 @@ class ThumbManagerBase:
|
|||||||
print(f"{self.item_id}: retry thumbnail download {url}")
|
print(f"{self.item_id}: retry thumbnail download {url}")
|
||||||
sleep((i + 1) ** i)
|
sleep((i + 1) ** i)
|
||||||
|
|
||||||
return False
|
return self.get_fallback()
|
||||||
|
|
||||||
def get_fallback(self):
|
def get_fallback(self):
|
||||||
"""get fallback thumbnail if not available"""
|
"""get fallback thumbnail if not available"""
|
||||||
|
Loading…
Reference in New Issue
Block a user