sleep on download queue

This commit is contained in:
Simon 2025-01-28 10:30:06 +07:00
parent 206efc784c
commit 074311339a
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4
1 changed files with 3 additions and 0 deletions

View File

@ -64,6 +64,9 @@ class VideoDownloader(DownloaderBase):
self._reset_auto()
break
if downloaded > 0:
rand_sleep(self.config)
youtube_id = video_data["youtube_id"]
channel_id = video_data["channel_id"]
print(f"{youtube_id}: Downloading video")