Better debugging
This commit is contained in:
@@ -148,8 +148,8 @@ async def download_tt_video(url: str) -> str:
|
||||
video_content = video.download().getbuffer()
|
||||
video_hash = sha256(video_content).hexdigest()
|
||||
|
||||
log.info(f"{video_hash}")
|
||||
log.info(f"{video_filepath}")
|
||||
log.info(f"Video hash: {video_hash}")
|
||||
log.info(f"Video filepath: {video_filepath}")
|
||||
|
||||
if await check_if_tt_downloaded(video_hash) is True:
|
||||
return "Already downloaded"
|
||||
|
||||
Reference in New Issue
Block a user