From 4b8e48dd4337d66899d674e35ecc90311e9d0302 Mon Sep 17 00:00:00 2001 From: = <=> Date: Sat, 20 Sep 2025 08:43:54 +0200 Subject: [PATCH] . --- skullbot.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/skullbot.py b/skullbot.py index a688685..ecad910 100644 --- a/skullbot.py +++ b/skullbot.py @@ -215,10 +215,14 @@ async def playlist_cmd(ctx): # ===================== ytdl_format_options = { "format": "bestaudio/best", + "cookiefile": "/app/cookies.txt", + "extractor_args": { + "youtube": { + "player_client": ["android", "web"], + } + }, "noplaylist": True, "quiet": True, - "extract_flat": False, - "cookiefile": "cookies.txt" } ffmpeg_options = { "before_options": "-reconnect 1 -reconnect_streamed 1 -reconnect_delay_max 5",