From 1bc39bc8c9035d6582caca9ac27610f8804ddc99 Mon Sep 17 00:00:00 2001 From: a Date: Wed, 13 Nov 2024 23:28:05 +0000 Subject: [PATCH] Change to using cookies bc OAuth is getting patched out --- cogs/music.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cogs/music.py b/cogs/music.py index fa1430e..fb83f17 100644 --- a/cogs/music.py +++ b/cogs/music.py @@ -923,8 +923,8 @@ ytdl_format_options = { "default_search": "auto", # "source_address": "0.0.0.0", # Bind to ipv4 since ipv6 addresses cause issues "extract_flat": True, # massive speedup for fetching metadata, at the cost of no upload date - #"cookiefile": "cookies.txt", + "cookiefile": "/umi/cookies.txt", "cachedir": "cache", - "usenetrc": True + #"usenetrc": True, } ytdl = youtube_dl.YoutubeDL(ytdl_format_options) \ No newline at end of file