when adding playlist, yt-dlp doesn't include thumbnail in the list
This commit is contained in:
parent
df69e91d41
commit
d9b905fbde
1 changed files with 3 additions and 0 deletions
|
|
@ -91,6 +91,9 @@ class DownloadQueue:
|
|||
if property in entry:
|
||||
etr[f"playlist_{property}"] = entry.get(property)
|
||||
|
||||
if "thumbnail" not in etr and "youtube:" in entry.get("extractor", ""):
|
||||
etr["thumbnail"] = f"https://img.youtube.com/vi/{etr['id']}/maxresdefault.jpg"
|
||||
|
||||
results.append(
|
||||
await self.__add_entry(
|
||||
entry=etr,
|
||||
|
|
|
|||
Loading…
Reference in a new issue