vk and yt-dlp

This commit is contained in:
msramalho
2023-01-18 23:15:25 +00:00
parent 176ce7e8da
commit 9bbc13e9be
4 changed files with 74 additions and 4 deletions

View File

@@ -25,7 +25,6 @@ class ThumbnailEnricher(Enricher):
folder = os.path.join(to_enrich.get_tmp_dir(), str(uuid.uuid4()))
os.makedirs(folder, exist_ok=True)
for i, m in enumerate(to_enrich.media[::]):
logger.info(m)
if m.is_video():
logger.debug(f"generating thumbnails for {m.filename}")
fps, duration = 0.5, m.get("duration")