add sleep intervals between urls download

This commit is contained in:
ALIHAN DIKEL
2023-04-27 01:03:59 +03:00
parent a78c715a01
commit 651588b9d5

View File

@@ -9,7 +9,8 @@ class VideoToAudioDownloader():
def __init__(self, params=None):
self.yt_opts = {
'ignoreerrors': True,
#'playlistreverse': True,
'sleep_interval': 3,
'max_sleep_interval': 20,
'format': 'm4a/bestaudio/best',
'outtmpl': 'audios/%(id)s_%(release_date)s.%(ext)s',
# See help(yt_dlp.postprocessor) for a list of available Postprocessors and their arguments