WIP: test oauth2

This commit is contained in:
a 2024-10-22 13:17:39 +00:00
parent edfc281d6c
commit 7fca69c645

View file

@ -864,7 +864,10 @@ 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": "cookies.txt",
"cachedir": "cache",
"username": "oauth",
"password": "",
} }
username = getenv("YOUTUBE_USERNAME") username = getenv("YOUTUBE_USERNAME")
password = getenv("YOUTUBE_PASSWORD") password = getenv("YOUTUBE_PASSWORD")