Change to using cookies bc OAuth is getting patched out

This commit is contained in:
a 2024-11-13 23:28:05 +00:00
parent 1d8121b642
commit 1bc39bc8c9

View file

@ -923,8 +923,8 @@ ytdl_format_options = {
"default_search": "auto", "default_search": "auto",
# "source_address": "0.0.0.0", # Bind to ipv4 since ipv6 addresses cause issues # "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 "extract_flat": True, # massive speedup for fetching metadata, at the cost of no upload date
#"cookiefile": "cookies.txt", "cookiefile": "/umi/cookies.txt",
"cachedir": "cache", "cachedir": "cache",
"usenetrc": True #"usenetrc": True,
} }
ytdl = youtube_dl.YoutubeDL(ytdl_format_options) ytdl = youtube_dl.YoutubeDL(ytdl_format_options)