'quiet': True, | 'quiet': True, | ||||
'no_warnings': True, | 'no_warnings': True, | ||||
'default_search': 'auto', | 'default_search': 'auto', | ||||
'source_address': '0.0.0.0' # bind to ipv4 since ipv6 addresses cause issues sometimes | |||||
} | } | ||||
ffmpeg_options = { | ffmpeg_options = { | ||||
'before_options': '-nostdin', | 'before_options': '-nostdin', | ||||
'options': '-vn -loglevel panic' | |||||
'options': '-vn -loglevel panic --force-ipv4' | |||||
} | } | ||||
ytdl = youtube_dl.YoutubeDL(ytdl_format_options) | ytdl = youtube_dl.YoutubeDL(ytdl_format_options) |