Fix minor problems with user IDs and datetime
Some checks failed
Build Docker image / test (push) Failing after 2m29s
Build Docker image / build (push) Has been skipped

This commit is contained in:
Roman Krček
2024-10-13 19:06:47 +02:00
parent f941877954
commit c1bf9c1e53
3 changed files with 11 additions and 10 deletions

View File

@@ -99,7 +99,7 @@ def download_tt_video(storage_path: str, url: str) -> None:
Makes sure the video integrity is correct."""
videos = snaptik(url)
now = datetime.datetime.now()
now = datetime.now()
for video in videos:
video_filename = now.strftime("video-tiktok-%Y-%m-%d_%H-%M-%S.mp4")