mirror of
https://github.com/tubearchivist/tubearchivist.git
synced 2025-01-02 06:50:12 +00:00
use fallback thumb when no url passed
This commit is contained in:
parent
35f1084cc2
commit
7029441f89
@ -35,6 +35,8 @@ class ThumbManagerBase:
|
||||
|
||||
def download_raw(self, url):
|
||||
"""download thumbnail for video"""
|
||||
if not url:
|
||||
return self.get_fallback()
|
||||
|
||||
for i in range(3):
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user